File: /home/agritoday/www/wp-content/plugins/td-composer/legacy/Newspaper/includes/td_config.php
<?php
/*
* This is the config file for the theme.
*/
define("TD_THEME_DEMO_URL", "https://demo.tagdiv.com/" . strtolower(TD_THEME_NAME));
define("TD_THEME_DEMO_DOC_URL", 'https://tagdiv.com/newspaper-theme-installing-demos/'); //the url to the demo documentation
define("TD_PLUGINS_URL", 'https://cloud.tagdiv.com/td_plugins/'); //plugins url
define("TD_FEATURED_CAT", "Featured"); //featured cat name
define("TD_FEATURED_CAT_SLUG", "featured"); //featured cat slug
define("TD_AURORA_VERSION", "__td_aurora_deploy_version__");
define("TD_THEME_WP_BOOSTER", "3.0"); // prevents multiple instances of the framework
/**
* speed booster v 3.0 hooks - prepare the framework for the theme
* is also used by td_deploy - that's why it's a static class
* Class td_wp_booster_hooks
*/
class td_config {
/**
* @throws ErrorException
*/
static function on_td_global_after_config() {
self::register_styles();
/**
* js files list
*/
td_global::$js_files = array(
'tdAnalytics' => '/legacy/common/wp_booster/js_dev/tdAnalytics.js',
'tdExternal' => '/legacy/common/wp_booster/js_dev/tdExternal.js',
'tdDetect' => '/legacy/common/wp_booster/js_dev/tdDetect.js',
'tdViewport' => '/legacy/common/wp_booster/js_dev/tdViewport.js',
'tdMenu' => '/legacy/common/wp_booster/js_dev/tdMenu.js',
//'tdLocalCache' => '/includes/wp_booster/js_dev/tdLocalCache.js',
'tdUtil' => '/legacy/common/wp_booster/js_dev/tdUtil.js',
'tdAffix' => '/legacy/common/wp_booster/js_dev/tdAffix.js',
//'td_scroll_animation' => '/includes/wp_booster/js_dev/td_scroll_animation.js',
'td_site' => '/legacy/common/wp_booster/js_dev/td_site.js',
'tdLoadingBox' => '/legacy/common/wp_booster/js_dev/tdLoadingBox.js',
'tdAjaxSearch' => '/legacy/common/wp_booster/js_dev/tdAjaxSearch.js',
'tdPostImages' => '/legacy/common/wp_booster/js_dev/tdPostImages.js',
'hammer' => '/legacy/common/wp_booster/js_dev/hammer.min.js',
'jquery_hammer' => '/legacy/common/wp_booster/js_dev/jquery.hammer.min.js',
'tdBlocks' => '/legacy/common/wp_booster/js_dev/tdBlocks.js',
'tdLogin' => '/legacy/common/wp_booster/js_dev/tdLogin.js',
'tdLoginMobile' => '/legacy/common/wp_booster/js_dev/tdLoginMobile.js',
'tdStyleCustomizer' => '/legacy/common/wp_booster/js_dev/tdStyleCustomizer.js',
'tdTrendingNow' => '/legacy/common/wp_booster/js_dev/tdTrendingNow.js',
//'tdTrendingNowCustom' => '/legacy/common/wp_booster/js_dev/tdTrendingNowCustom.js',
'td_history' => '/legacy/common/wp_booster/js_dev/td_history.js',
'tdSmartSidebar' => '/legacy/common/wp_booster/js_dev/tdSmartSidebar.js',
'tdStickyRow' => '/legacy/common/wp_booster/js_dev/tdStickyRow.js',
'tdScrollToClass' => '/legacy/common/wp_booster/js_dev/tdScrollToClass.js',
'tdInfiniteLoader' => '/legacy/common/wp_booster/js_dev/tdInfiniteLoader.js',
'vimeo_froogaloop' => '/legacy/common/wp_booster/js_dev/vimeo_froogaloop.js',
'tdHeader' => '/legacy/common/wp_booster/js_dev/tdHeader.js',
'tdCustomEvents' => '/legacy/' . TD_THEME_NAME . '/includes/js_files/tdCustomEvents.js',
'tdEvents' => '/legacy/common/wp_booster/js_dev/tdEvents.js',
'tdAjaxCount' => '/legacy/common/wp_booster/js_dev/tdAjaxCount.js',
'tdVideoPlaylist' => '/legacy/common/wp_booster/js_dev/tdVideoPlaylist.js',
'td_slide' => '/legacy/common/wp_booster/js_dev/td_slide.js',
'tdPullDown' => '/legacy/common/wp_booster/js_dev/tdPullDown.js',
//'td_main' => '/includes/js_files/td_main.js',
'td_fps' => '/legacy/' . TD_THEME_NAME . '/includes/js_files/td_fps.js',
'tdAnimationScroll' => '/legacy/common/wp_booster/js_dev/tdAnimationScroll.js',
'tdHomepageFull' => '/legacy/common/wp_booster/js_dev/tdHomepageFull.js',
'tdBackstr' => '/legacy/common/wp_booster/js_dev/tdBackstr.js',
'tdShowVideo' => '/legacy/common/wp_booster/js_dev/tdShowVideo.js',
//'td_scroll_effects.js' => '/includes/js_files/td_scroll_effects.js',
'tdAnimationStack' => '/legacy/common/wp_booster/js_dev/tdAnimationStack.js',
'td_main' => '/legacy/' . TD_THEME_NAME . '/includes/js_files/td_main.js',
'td_loop_ajax' => '/legacy/common/wp_booster/js_dev/tdLoopAjax.js',
'tdWeather' => '/legacy/common/wp_booster/js_dev/tdWeather.js',
'tdLastInit' => '/legacy/common/wp_booster/js_dev/tdLastInit.js',
'tdAnimationSprite' => '/legacy/common/wp_booster/js_dev/tdAnimationSprite.js',
'tdDatei18n' => '/legacy/common/wp_booster/js_dev/tdDatei18n.js',
'tdSocialSharing'=> '/legacy/common/wp_booster/js_dev/tdSocialSharing.js',
'tdModalPostImages' => '/legacy/common/wp_booster/js_dev/tdModalPostImages.js',
'tdAjaxVideoModal' => '/legacy/common/wp_booster/js_dev/tdAjaxVideoModal.js',
'tdfAjaxFlickr' => '/legacy/common/wp_booster/js_dev/tdfAjaxFlickr.js',
'tdPopupModal' => '/legacy/common/wp_booster/js_dev/tdPopupModal.js',
'tdReadingProgressBar' => '/legacy/common/wp_booster/js_dev/tdReadingProgressBar.js',
'tdTabbedContent' => '/legacy/common/wp_booster/js_dev/tdTabbedContent.js',
'tdListMenu' => '/legacy/common/wp_booster/js_dev/tdListMenu.js',
'td_confirm' => '/legacy/common/wp_booster/wp-admin/js/tdConfirm.js',
);
/**
* tdViewport intervals in crescendo order
*/
td_global::$td_viewport_intervals = array(
array(
"limitBottom" => 767,
"sidebarWidth" => 228,
),
array(
"limitBottom" => 1018,
"sidebarWidth" => 300,
),
array(
"limitBottom" => 1140,
"sidebarWidth" => 324,
),
);
/**
* - td animation stack effects used in the 'loading animation image' theme panel section
* - the first element is a special case, it representing the default type 'type0' @see animation-stack.less
* - the 'val' parameter is the type effect
* - the 'specific_selectors' parameter is the css selector used to look for new elements inside of some specific sections [ex. at ajax req]
* - the 'general_selectors' parameter is the css selector used to look for elements on extended sections [ex. entire page]
* - Important! the 'general_selectors' is not used by the default 'type0'
*/
td_global::$td_animation_stack_effects = array(
array(
'text' => 'Fade [full]',
'val' => '', // empty, as a default value
'specific_selectors' => '.entry-thumb, img, .td-lazy-img',
'general_selectors' => '.td-animation-stack img, .td-animation-stack .entry-thumb, .post img, .td-animation-stack .td-lazy-img',
),
array(
'text' => 'Fade & Scale',
'val' => 'type1',
'specific_selectors' => '.entry-thumb, img[class*="wp-image-"], a.td-sml-link-to-image > img, .td-lazy-img',
'general_selectors' => '.td-animation-stack .entry-thumb, .post .entry-thumb, .post img[class*="wp-image-"], .post a.td-sml-link-to-image > img, .td-animation-stack .td-lazy-img',
),
array(
'text' => 'Up fade',
'val' => 'type2',
'specific_selectors' => '.entry-thumb, img[class*="wp-image-"], a.td-sml-link-to-image > img, .td-lazy-img',
'general_selectors' => '.td-animation-stack .entry-thumb, .post .entry-thumb, .post img[class*="wp-image-"], a.td-sml-link-to-image > img, .td-animation-stack .td-lazy-img',
),
array(
'text' => 'No Animation',
'val' => 'type3',
'specific_selectors' => '.entry-thumb, img[class*="wp-image-"], a.td-sml-link-to-image > img, .td-lazy-img',
'general_selectors' => '.td-animation-stack .entry-thumb, .post .entry-thumb, .post img[class*="wp-image-"], a.td-sml-link-to-image > img, .td-animation-stack .td-lazy-img',
),
);
/**
* single template list
*/
td_api_single_template::add('single_template',
array(
'file' => TDC_PATH_LEGACY . '/single.php',
'text' => 'Single template',
'img' => TDC_URL_LEGACY . '/assets/images/panel/single_templates/single_template_0.png',
'show_featured_image_on_all_pages' => false,
'bg_disable_background' => false, // disable the featured image
'bg_box_layout_config' => 'auto', // auto | td-boxed-layout | td-full-layout
'bg_use_featured_image_as_background' => false, // uses the featured image as a background
'exclude_ad_content_top' => false,
)
);
/**
* block templates
*/
td_api_block_template::add('td_block_template_1',
array (
'text' => 'Block Header 1 - Default',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-1.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_1.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title background color:',
"param_name" => "header_color",
"value" => '',
"description" => 'Optional - Choose a custom background color for this header/loader gif',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_background_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_2',
array (
'text' => 'Block Header 2',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-2.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_2.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_3',
array (
'text' => 'Block Header 3',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-3.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_3.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title background color:',
"param_name" => "header_color",
"value" => '',
"description" => 'Optional - Choose a custom background color for this header/loader gif',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_background_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_4',
array (
'text' => 'Block Header 4',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-4.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_4.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title background color:',
"param_name" => "header_color",
"value" => '',
"description" => 'Optional - Choose a custom background color for this header/loader gif',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_background_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_5',
array (
'text' => 'Block Header 5',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-5.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_5.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title background color:',
"param_name" => "header_color",
"value" => '',
"description" => 'Optional - Choose a custom background color for this header/loader gif',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_background_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_6',
array (
'text' => 'Block Header 6',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-6.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_6.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "attach_image",
"holder" => "div",
"class" => "",
"heading" => "Header background",
"param_name" => "header_image",
"value" => '',
"description" => "Optional - Choose a custom background image for this header",
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_7',
array (
'text' => 'Block Header 7',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-7.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_7.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title background color:',
"param_name" => "header_color",
"value" => '',
"description" => 'Optional - Choose a custom background color for this header/loader gif',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_background_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
),
array(
"type" => "attach_image",
"holder" => "div",
"class" => "",
"heading" => "Header pattern",
"param_name" => "header_image",
"value" => '',
"description" => "Optional - Choose a custom background image for this header",
'td_type' => 'block_template',
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_8',
array (
'text' => 'Block Header 8',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-8.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_8.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color:',
"param_name" => "border_color",
"value" => '',
"description" => 'Optional - Choose a custom border color for this header',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_9',
array (
'text' => 'Block Header 9',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-9.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_9.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color:',
"param_name" => "border_color",
"value" => '',
"description" => 'Optional - Choose a custom border color for this header',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_10',
array (
'text' => 'Block Header 10',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-10.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_10.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color:',
"param_name" => "border_color",
"value" => '',
"description" => 'Optional - Choose a custom border color for this header',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_11',
array (
'text' => 'Block Header 11',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-11.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_11.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color:',
"param_name" => "border_color",
"value" => '',
"description" => 'Optional - Choose a custom border color for this header',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_12',
array (
'text' => 'Block Header 12',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-12.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_12.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
),
array(
"type" => "textfield",
"holder" => "div",
"class" => "tdc-textfield-big",
"heading" => 'Continue button text:',
"param_name" => "button_text",
"value" => '',
"description" => 'To enable the continue button, choose a category from Filter or write a custom Title URL',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Continue button color:',
"param_name" => "button_color",
"value" => '',
"description" => 'Optional - Choose a custom text color for the continue button',
'td_type' => 'block_template',
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_13',
array (
'text' => 'Block Header 13',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-13.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_13.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
),
array(
"type" => "textfield",
"holder" => "div",
"class" => "tdc-textfield-big",
"heading" => 'Big title:',
"param_name" => "big_title_text",
"value" => '',
"description" => 'Optional - Choose a custom big title text for this header',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Big title text color:',
"param_name" => "big_text_color",
"value" => '',
"description" => 'Optional - Choose a custom color for the big title',
'td_type' => 'block_template',
),
array(
"type" => "textfield",
"holder" => "div",
"class" => "tdc-textfield-big",
"heading" => 'Continue button text:',
"param_name" => "button_text",
"value" => '',
"description" => 'To enable the continue button, choose a category from Filter or write a custom Title URL',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Continue button color:',
"param_name" => "button_color",
"value" => '',
"description" => 'Optional - Choose a custom text color for the continue button',
'td_type' => 'block_template',
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_14',
array (
'text' => 'Block Header 14',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-14.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_14.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title background color:',
"param_name" => "header_color",
"value" => '',
"description" => 'Optional - Choose a custom background color for this header/loader gif',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_background_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color:',
"param_name" => "border_color",
"value" => '',
"description" => 'Optional - Choose a custom border color for this header',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_15',
array (
'text' => 'Block Header 15',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-15.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_15.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title background color:',
"param_name" => "header_color",
"value" => '',
"description" => 'Optional - Choose a custom background color for this header/loader gif',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_background_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color:',
"param_name" => "border_color",
"value" => '',
"description" => 'Optional - Choose a custom border color for this header',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Top border color:',
"param_name" => "top_border_color",
"value" => '',
"description" => 'Optional - Choose a custom top border color for this header',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_16',
array (
'text' => 'Block Header 16',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-16.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_16.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color:',
"param_name" => "border_color",
"value" => '',
"description" => 'Optional - Choose a custom border color for this header',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_17',
array (
'text' => 'Block Header 17',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-17.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_17.php',
'params' => array(
// title settings
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color:',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this header',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title background color:',
"param_name" => "header_color",
"value" => '',
"description" => 'Optional - Choose a custom background color for this header/loader gif',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_background_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border top color:',
"param_name" => "top_border_color",
"value" => '',
"description" => 'Optional - Choose a custom top border color for this header',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border bottom color:',
"param_name" => "bottom_border_color",
"value" => '',
"description" => 'Optional - Choose a custom bottom border color for this header',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
)//end generic array
)
);
td_api_block_template::add('td_block_template_18',
array (
'text' => 'Block Header 18',
'img' => TDC_URL_LEGACY . '/assets/images/panel/block_templates/icon-block-header-18.png',
'file' => TDC_PATH_LEGACY . '/includes/block_templates/td_block_template_18.php',
'params' => array(
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title gradient color A:',
"param_name" => "header_text_color_a",
"value" => '#06d3d5',
"description" => 'Optional - Choose a custom title gradient color for this header',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title gradient color B:',
"param_name" => "header_text_color_b",
"value" => '#2a81cb',
"description" => 'Optional - Choose a custom title gradient color for this header',
'td_type' => 'block_template',
),
array(
"type" => "textfield",
"holder" => "div",
"class" => "tdc-textfield-big",
"heading" => 'Speech bubble text:',
"param_name" => "speech_bubble_text",
"value" => '',
"description" => 'Optional - Custom text for the speech bubble',
'td_type' => 'block_template',
),
array(
"type" => "textfield",
"holder" => "div",
"class" => "tdc-textfield-small",
"heading" => 'Speech bubble text size:',
"param_name" => "speech_bubble_text_size",
"value" => '',
'placeholder' => '12',
"description" => 'Optional - Custom text size for the speech bubble',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Speech bubble color:',
"param_name" => "speech_bubble_color",
"value" => '#2a81cb',
"description" => 'Optional - Speech bubble background color',
'td_type' => 'block_template',
),
array(
"type" => "textfield",
"holder" => "div",
"class" => "tdc-textfield-extrabig",
"heading" => 'Subtitle text:',
"param_name" => "subtitle_text",
"value" => '',
"description" => 'Optional - Choose a custom subtitle text for this header',
'td_type' => 'block_template',
),
array(
"type" => "textfield",
"holder" => "div",
"class" => "tdc-textfield-small",
"heading" => 'Subtitle text size:',
"param_name" => "subtitle_text_size",
"value" => '',
"placeholder" => '15',
"description" => 'Optional - Choose a custom subtitle text size for this header',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Subtitle text color:',
"param_name" => "subtitle_text_color",
"value" => '#808080',
"description" => 'Optional - Choose a custom color for the subtitle text',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Subtitle border color:',
"param_name" => "subtitle_border_color",
"value" => '#e3e3e3',
"description" => 'Optional - Choose a custom color for the subtitle border',
'td_type' => 'block_template',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Accent hover color:',
"param_name" => "accent_text_color",
"value" => '',
"description" => 'Optional - Choose a custom accent hover color for this block',
'td_type' => 'block_template',
"info_img" => "https://cloud.tagdiv.com/help/title_active.png",
)
),//end generic array
'premium' => true
)
);
/**
* modules list
*/
td_api_module::add('td_module_single',
array( // this module is for internal use only
'file' => TDC_PATH_LEGACY . '/includes/modules/td_module_single.php',
'text' => 'Single Module',
'img' => '',
'used_on_blocks' => '',
'excerpt_title' => '',
'excerpt_content' => '',
'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' => '',
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
td_api_module::add('td_module_slide',
array(
'file' => TDC_PATH_LEGACY . '/includes/modules/td_module_slide.php',
'text' => 'Slider module',
'img' => '',
'used_on_blocks' => array('td_block_slide'),
'excerpt_title' => 25,
'excerpt_content' => '',
'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' => true,
'class' => 'td-animation-stack',
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
td_api_module::add('td_module_mega_menu',
array(
'file' => TDC_PATH_LEGACY . '/includes/modules/td_module_mega_menu.php',
'text' => 'Mega menu module',
'img' => '',
'used_on_blocks' => array('td_block_mega_menu'),
'excerpt_title' => '12',
'excerpt_content' => '',
'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' => true,
'class' => 'td-animation-stack',
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
td_api_module::add('td_module_trending_now',
array( // this module is for internal use only
'file' => TDC_PATH_LEGACY . '/includes/modules/td_module_trending_now.php',
'text' => 'Trending now module',
'img' => '',
'used_on_blocks' => '',
'excerpt_title' => 25,
'excerpt_content' => '',
'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' => '',
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
td_api_module::add( 'td_module_flex_1',
array(
'file' => TDC_PATH_LEGACY . '/includes/modules/td_module_flex_1.php',
'text' => 'Module Flex 1',
'img' => '',
'used_on_blocks' => array( 'td_flex_block_1' ),
'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( 'td_module_flex_2',
array(
'file' => TDC_PATH_LEGACY . '/includes/modules/td_module_flex_2.php',
'text' => 'Module Flex 2',
'img' => '',
'used_on_blocks' => array( 'td_flex_block_2' ),
'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( 'td_module_flex_3',
array(
'file' => TDC_PATH_LEGACY . '/includes/modules/td_module_flex_3.php',
'text' => 'Module Flex 3',
'img' => '',
'used_on_blocks' => array( 'td_flex_block_3' ),
'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( 'td_module_flex_4',
array(
'file' => TDC_PATH_LEGACY . '/includes/modules/td_module_flex_4.php',
'text' => 'Module Flex 4',
'img' => '',
'used_on_blocks' => array( 'td_flex_block_4' ),
'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( 'td_module_flex_5',
array(
'file' => TDC_PATH_LEGACY . '/includes/modules/td_module_flex_5.php',
'text' => 'Module Flex 5',
'img' => '',
'used_on_blocks' => array( 'td_module_flex_5' ),
'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( 'td_module_flex_6',
array(
'file' => TDC_PATH_LEGACY . '/includes/modules/td_module_flex_6.php',
'text' => 'Module Flex 6',
'img' => '',
'used_on_blocks' => array( 'td_module_flex_6' ),
'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( 'td_module_flex_7',
array(
'file' => TDC_PATH_LEGACY . '/includes/modules/td_module_flex_7.php',
'text' => 'Module Flex 7',
'img' => '',
'used_on_blocks' => array( 'td_module_flex_7' ),
'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( 'td_module_flex_8',
array(
'file' => TDC_PATH_LEGACY . '/includes/modules/td_module_flex_8.php',
'text' => 'Module Flex 8',
'img' => '',
'used_on_blocks' => array( 'td_module_flex_8' ),
'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( 'td_module_flex_empty',
array(
'file' => TDC_PATH_LEGACY . '/includes/modules/td_module_flex_empty.php',
'text' => 'Module Flex Empty',
'img' => '',
'used_on_blocks' => array( 'td_module_flex_empty' ),
'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( 'tds_module_loop_1',
array(
'file' => TDC_PATH_LEGACY . '/includes/modules/tds_module_loop_1.php',
'text' => 'Flex 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( 'tds_module_loop_2',
array(
'file' => TDC_PATH_LEGACY . '/includes/modules/tds_module_loop_2.php',
'text' => 'Flex 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
)
);
/**
* the blocks
*/
td_api_block::add('td_block_ad_box',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Ad box',
"base" => 'td_block_ad_box',
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-ads',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_ad_box.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'spot_id',
'spot_title',
'el_class'
),
'tdc_start_values' => base64_encode(
json_encode(
array(
array(
"spot_img_horiz" => "content-horiz-center",
)
)
)
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Ad content',
"value" => "",
"class" => "",
),
array(
"param_name" => "spot_id",
"type" => "dropdown",
"value" => array(
'- Select an ad spot -' => '',
'header' => 'header',
'sidebar' => 'sidebar',
'custom_ad_1' => 'custom_ad_1',
'custom_ad_2' => 'custom_ad_2',
'custom_ad_3' => 'custom_ad_3',
'custom_ad_4' => 'custom_ad_4',
'custom_ad_5' => 'custom_ad_5'
),
"heading" => 'Use adspot from:',
"description" => 'Choose the adspot from list',
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/rec_general_select_anim.png"
),
array(
"param_name" => "spot_hide",
"type" => "checkbox",
"value" => '',
"heading" => "Hide ads for admins/editors",
"description" => "",
"holder" => "div",
"class" => "",
"group" => ''
),
array(
"param_name" => "spot_hide_plan_id",
"type" => "textfield",
"value" => "",
"heading" => 'Hide ads for subscribed users',
"description" => "Hide the Ad for users which are subscribed to one of the plan IDs you enter here.",
"holder" => "div",
"class" => "tdc-textfield-big " . ( !defined( 'TD_SUBSCRIPTION' ) || !method_exists( 'tds_util', 'is_user_subscribed_to_plan' ) ? 'tdc-hidden' : '' ),
),
array(
"param_name" => "spot_title",
"type" => "textfield",
"value" => "",
"heading" => 'Ad title:',
"description" => "Optional - a title for the Ad, like - Advertisement - if you leave it blank the block will not have a title",
"holder" => "div",
"class" => "tdc-textfield-extrabig",
"info_img" => "https://cloud.tagdiv.com/help/rec_general_title_anim.png"
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Ad title color',
"param_name" => "ad_title_color",
"value" => '',
"description" => '',
"group" => "",
"info_img" => "https://cloud.tagdiv.com/help/rec_general_title_color_anim.png"
),
),
td_config_helper::get_map_block_font_array( 'f_title', true, 'Ad title text' ),
array(
array(
"param_name" => "spot_img_all",
"type" => "attach_image",
"value" => '',
"heading" => "All devices",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Image ad'
),
array(
"param_name" => "spot_img_all_width_attribute",
"type" => "textfield",
"value" => "",
"placeholder" => "",
"heading" => 'Width attribute',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'Image ad',
"info_img" => "https://cloud.tagdiv.com/help/rec_image_width_anim.png",
),
array(
"param_name" => "spot_img_all_height_attribute",
"type" => "textfield",
"value" => "",
"placeholder" => "",
"heading" => 'Height attribute',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'Image ad'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Image ad'
),
array(
"param_name" => "spot_img_tl",
"type" => "attach_image",
"value" => '',
"heading" => "Tablet landscape",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Image ad'
),
array(
"param_name" => "spot_img_tl_width_attribute",
"type" => "textfield",
"value" => "",
"placeholder" => "",
"heading" => 'Width attribute',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'Image ad',
"info_img" => "https://cloud.tagdiv.com/help/rec_image_width_anim.png",
),
array(
"param_name" => "spot_img_tl_height_attribute",
"type" => "textfield",
"value" => "",
"placeholder" => "",
"heading" => 'Height attribute',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'Image ad'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Image ad'
),
array(
"param_name" => "spot_img_tp",
"type" => "attach_image",
"value" => '',
"heading" => "Tablet portrait",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Image ad'
),
array(
"param_name" => "spot_img_tp_width_attribute",
"type" => "textfield",
"value" => "",
"placeholder" => "",
"heading" => 'Width attribute',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'Image ad',
"info_img" => "https://cloud.tagdiv.com/help/rec_image_width_anim.png",
),
array(
"param_name" => "spot_img_tp_height_attribute",
"type" => "textfield",
"value" => "",
"placeholder" => "",
"heading" => 'Height attribute',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'Image ad'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Image ad'
),
array(
"param_name" => "spot_img_mob",
"type" => "attach_image",
"value" => '',
"heading" => "Phone",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Image ad'
),
array(
"param_name" => "spot_img_mob_width_attribute",
"type" => "textfield",
"value" => "",
"placeholder" => "",
"heading" => 'Width attribute',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'Image ad',
"info_img" => "https://cloud.tagdiv.com/help/rec_image_width_anim.png",
),
array(
"param_name" => "spot_img_mob_height_attribute",
"type" => "textfield",
"value" => "",
"placeholder" => "",
"heading" => 'Height attribute',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'Image ad'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Image ad'
),
array(
"param_name" => "spot_url",
"type" => "textfield",
"value" => "",
"heading" => 'Ad url',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-extrabig",
"group" => 'Image ad'
),
array(
"param_name" => "spot_url_window",
"type" => "checkbox",
"value" => '',
"heading" => "Open url in new window",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Image ad'
),
array(
"param_name" => "spot_url_rel",
"type" => "dropdown",
"value" => array(
'None' => '',
'Nofollow' => 'nofollow',
'Noreferrer' => 'noreferrer',
'Noopener' => 'noopener'
),
"heading" => 'Spot url rel',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => 'Image ad'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Image ad'
),
array(
"param_name" => "spot_img_alt_attribute",
"type" => "textfield",
"value" => "",
"placeholder" => "",
"heading" => 'Alt attribute',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"group" => 'Image ad'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Image ad'
),
array(
"param_name" => "spot_img_all_hide",
"type" => "checkbox",
"value" => '',
"heading" => "Hide on desktop",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Image ad'
),
array(
"param_name" => "spot_img_tl_hide",
"type" => "checkbox",
"value" => '',
"heading" => "Hide on tablet landscape",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Image ad'
),
array(
"param_name" => "spot_img_tp_hide",
"type" => "checkbox",
"value" => '',
"heading" => "Hide on tablet portrait",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Image ad'
),
array(
"param_name" => "spot_img_mob_hide",
"type" => "checkbox",
"value" => '',
"heading" => "Hide on phone",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Image ad'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "",
"group" => 'Image ad'
),
array(
"param_name" => "spot_img_width",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "auto",
"heading" => 'Width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'Image ad',
"info_img" => "https://cloud.tagdiv.com/help/rec_image_width_anim.png"
),
array(
"param_name" => "spot_img_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" => 'Image ad',
"info_img" => "https://cloud.tagdiv.com/help/rec_image_horizontal_anim.png"
),
array(
"param_name" => "spot_code",
"type" => "textarea_raw_html",
"holder" => "div",
"class" => "",
"heading" => 'Custom ad code',
"value" => "",
"description" => 'Paste your ad code here.',
'group' => 'Custom ad',
),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
),
)
);
td_api_block::add( 'td_flex_block_1',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Flex Block 1',
"base" => 'td_flex_block_1',
"class" => 'td_flex_block_1',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Blocks',
'icon' => 'icon-pagebuilder-td_flex_block_1',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_flex_block_1.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'td_ajax_filter_ids',
'td_filter_default_txt',
'td_ajax_preloading',
'ajax_pagination_infinite_stop',
'offset',
'modules_on_row',
'modules_gap',
'limit',
'el_class'
),
'tdc_start_values' => base64_encode(
json_encode(
array(
array(
"modules_on_row" => "33.33333333%",
"limit" => '3',
"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(
self::get_map_block_general_array(),
array(
array(
"param_name" => "title_tag",
"type" => "dropdown",
"value" => array(
'Default - H4' => '',
'H1' => 'h1',
'H2' => 'h2',
'H3' => 'h3',
'Div' => 'div'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Content length',
"value" => "",
"class" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 1',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mc1_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mc1_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "mc1_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
),
),
self::get_map_filter_array('Filter', true),
// block cache
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Cache',
"value" => "",
"class" => "",
),
array(
"param_name" => "td_query_cache",
"type" => "checkbox",
"value" => '',
"heading" => "Cache block results",
"description" => "If enabled the block output will be cached",
"holder" => "div",
"class" => "",
"toggle_enable_params" => 'td_query_cache',
),
array(
"param_name" => "td_query_cache_expiration",
"type" => "dropdown-responsive",
"value" => array(
'1 minute' => '',
'5 minutes' => 5 * MINUTE_IN_SECONDS,
'10 minutes' => 10 * MINUTE_IN_SECONDS,
'30 minutes' => 30 * MINUTE_IN_SECONDS,
'1 hour' => 60 * MINUTE_IN_SECONDS,
'1 day' => 24 * HOUR_IN_SECONDS,
'1 week' => 7 * DAY_IN_SECONDS,
),
"heading" => 'Cache expiration',
"description" => "The block cache expiration time in seconds. Note that cache will be cleard when block's settings change.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"toggle_enabled_by" => 'td_query_cache',
),
),
self::get_map_block_ajax_filter_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Layout',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "container_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Container width (0-100 percent)',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_container.png",
),
array(
"param_name" => "modules_on_row",
"type" => "dropdown-responsive",
"value" => array(
'1' => '100%',
'2' => '50%',
'3' => '33.33333333%',
'4' => '25%',
'5' => '20%',
'6' => '16.66666667%',
'7' => '14.28571428%',
'8' => '12.5%',
'9' => '11.11111111%',
'10' => '10%',
),
"heading" => 'Modules per row',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-small",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_per_row.png",
),
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "m_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_padding.png",
),
array(
"param_name" => "all_modules_space",
"type" => "textfield-responsive",
"value" => '36',
"heading" => 'Modules bottom space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "36",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "modules_border_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
),
array(
"param_name" => "modules_border_style",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
),
array(
"param_name" => "modules_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "modules_divider",
"type" => "dropdown",
"value" => array(
'None' => '',
'Solid' => 'solid',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Modules divider',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Modules divider color',
"param_name" => "modules_divider_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "h_effect",
"type" => "dropdown",
"value" => array(
'None' => '',
'Shadow' => 'shadow',
'Move up & shadow' => 'up-shadow',
),
"heading" => 'Hover effect',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_hover_effect.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'Medium - Default - 696x0px' => '',
'-- [No crop] --' => '__',
'XSmall - 150x0px' => 'td_150x0',
'Small - 300x0px' => 'td_300x0',
'Large - 1068x0px' => 'td_1068x0',
'Full - 1920x0px' => 'td_1920x0',
'-- [Other sizes] --' => '__',
'218x150px' => 'td_218x150',
'324x400px' => 'td_324x400',
'485x360' => 'td_485x360'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "image_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (0-100 percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_floated",
"type" => "dropdown-responsive",
"value" => array(
'Normal' => 'no_float',
'Float left' => 'float_left',
'Float right' => 'float_right',
'Hidden' => 'hidden',
),
"heading" => 'Image position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_position.png",
),
array(
"param_name" => "image_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
),
array(
"param_name" => "hide_image",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article video',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "video_icon",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "video_popup",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Enable video pop-up",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_enable_video_pop-up.png",
),
array(
"param_name" => "video_rec",
"type" => "textarea_raw_html",
"holder" => "div",
"class" => "tdc-textarea-raw-small",
"heading" => 'Video pop-up ad',
"value" => "",
"description" => 'Paste your ad code here.',
'group' => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_video_popup_ad.png",
),
array(
"param_name" => "spot_header",
"type" => "spot_header",
"value" => "",
"class" => '',
'group' => 'Layout',
),
array(
"param_name" => "video_rec_title",
"type" => "textfield",
"value" => '',
"heading" => 'Ad title',
"description" => "",
"placeholder" => "- Advertisement -",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-spot-controller tdc-spot-title",
'group' => 'Layout',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-spot-controller tdc-spot-color",
"heading" => 'Ad title color',
"param_name" => "video_rec_color",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_rec_disable",
"type" => "checkbox",
"value" => '',
"heading" => "Hide ADS for admins/editors",
"description" => "Used to prevent fake clicks and views on ads by admins and editors",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "autoplay_vid",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Autoplay video",
"description" => "When it is inactive, the sound will be ON",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "show_vid_t",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show video duration',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
),
array(
"param_name" => "vid_t_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
),
array(
"param_name" => "vid_t_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Video pop-up article title color',
"param_name" => "video_title_color",
"value" => '',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_title_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Video pop-up article title hover color',
"param_name" => "video_title_color_h",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_bg",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up background color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_background.png",
),
array(
"param_name" => "video_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up overlay color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_overlay_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "vid_t_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration text color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_text_color.png",
),
array(
"param_name" => "vid_t_bg_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration background color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_bg_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
),
td_config_helper::get_map_block_font_array( 'f_vid_title', true, 'Video pop-up article title', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_duration_title.png', '' ),
self::get_map_exclusive_label_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article meta info',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "meta_info_align",
"type" => "dropdown-responsive",
"value" => array(
'Default' => '',
'Top' => 'initial',
'Center' => 'center',
'Bottom' => 'flex-end',
),
"heading" => 'Vertical align',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_vertical_align.png",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown-responsive",
"value" => array(
'Default' => 'layout-default',
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Horiz. align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "13px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "meta_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta container space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_container_space.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article title',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "art_title",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 6px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_btn",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article button space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px 0px 0px 0px",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Meta info border',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "meta_info_border_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_border_width.png",
),
array(
"param_name" => "meta_info_border_style",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_border_style_general.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "meta_info_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_border_color_general.png",
),
array(
"param_name" => "meta_info_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Category tag',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Over image' => 'image',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "modules_category_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "modules_cat_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
),
array(
'param_name' => 'modules_category_radius',
'type' => 'range-responsive',
'value' => '0',
'heading' => 'Border radius',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
),
array(
"param_name" => "show_cat",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Author',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_author",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "author_photo",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo.png",
),
array(
"param_name" => "author_photo_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
),
array(
"param_name" => "author_photo_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "6",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
),
array(
"param_name" => "author_photo_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Date / Comment',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_date",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "show_com",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show comment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Review stars',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_review",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show review stars',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Excerpt',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_excerpt",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show excerpt',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
),
array(
"param_name" => "art_excerpt",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article excerpt space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "excerpt_col",
"type" => "dropdown-responsive",
"value" => array(
'1' => '1',
'2' => '2',
'3' => '3',
),
"heading" => 'Article excerpt columns',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-small",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_article_excerpt_columns.png",
),
array(
"param_name" => "excerpt_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article excerpt columns gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "48",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "excerpt_middle",
"type" => "checkbox",
"value" => '',
"heading" => "Excerpt in middle",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_excerpt_in_middle.png",
),
array(
"param_name" => "excerpt_inline",
"type" => "checkbox",
"value" => '',
"heading" => "Inline Excerpt & Title",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_inline_excerpt_title.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article audio player',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_audio",
"type" => "dropdown-responsive",
"value" => array(
'Visible' => 'block',
'Hidden' => 'none',
),
"heading" => 'Show audio player',
"description" => "This will hide the audio player responsive",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "hide_audio",
"type" => "checkbox",
"value" => '',
"heading" => "Remove audio player",
"description" => "This will remove the audio player from code",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "art_audio",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Audio player space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_space.png",
),
array(
'param_name' => 'art_audio_size',
'type' => 'range-responsive',
'value' => '1.5',
'heading' => 'Audio player size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_size.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Button',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_btn",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show button',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_show.png",
),
array(
"param_name" => "btn_title",
"type" => "textfield",
"value" => '',
"heading" => 'Button text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "Read more",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_text.png",
),
array(
"param_name" => "btn_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 20px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_space.png",
),
array(
"param_name" => "btn_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "10px 15px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_padding.png",
),
array(
"param_name" => "btn_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_border.png",
),
array(
"param_name" => "btn_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_radius.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Pagination',
"value" => "",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "pag_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Top space',
"description" => "",
"placeholder" => "20",
"holder" => "div",
"class" => "tdc-textfield-small",
'group' => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_space.png",
),
array(
"param_name" => "pag_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_padding.png",
),
array(
"param_name" => "pag_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "1",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_border.png",
),
array(
"param_name" => "pag_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_border_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
'param_name' => 'prev_tdicon',
'type' => 'icon',
'heading' => 'Prev icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
),
array(
'param_name' => 'next_tdicon',
'type' => 'icon',
'heading' => 'Next icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
),
array(
"param_name" => "pag_icons_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Icons size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow_size.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Block fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_ajax', false, 'Ajax categories', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_ajax.png', '' ),
td_config_helper::get_map_block_font_array( 'f_more', false, 'Load more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_load_more.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_title', true, 'Article title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_read.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Module background',
"param_name" => "m_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "color_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Module image overlay",
"value" => "",
"class" => "",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_image_overlay.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
),
td_config_helper::get_map_block_shadow_array('shadow', 'Module Shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article title',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "all_underline_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Underline size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Category tag',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category border color',
"param_name" => "cat_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category border hover',
"param_name" => "cat_border_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'AUTHOR / DATE / COMMENT / EXCERPT',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment background',
"param_name" => "com_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "rev_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_review_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Audio player',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Buttons color',
"param_name" => "audio_btn_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_buttons.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Time text color',
"param_name" => "audio_time_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_time.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars background color',
"param_name" => "audio_bar_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_bar.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars progress color',
"param_name" => "audio_bar_curr_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_progress.png",
),
),
td_config_helper::get_map_block_shadow_array('shadow_m', 'Meta info shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_meta_shadow.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Button',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button background',
"param_name" => "btn_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_button_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button background hover',
"param_name" => "btn_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button text color',
"param_name" => "btn_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_button_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button text hover',
"param_name" => "btn_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button border color',
"param_name" => "btn_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_button_border_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button border hover',
"param_name" => "btn_border_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Pagination',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Text color',
"param_name" => "pag_text",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Text hover color',
"param_name" => "pag_h_text",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Background color',
"param_name" => "pag_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Background hover color',
"param_name" => "pag_h_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Border color',
"param_name" => "pag_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Border hover color',
"param_name" => "pag_h_border",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
self::get_map_block_pagination_array()
)
)
);
td_api_block::add( 'td_flex_block_2',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Flex Block 2',
"base" => 'td_flex_block_2',
"class" => 'td_flex_block_2',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Blocks',
'icon' => 'icon-pagebuilder-td_flex_block_2',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_flex_block_2.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'td_ajax_filter_ids',
'td_filter_default_txt',
'td_ajax_preloading',
'ajax_pagination_infinite_stop',
'offset',
'limit',
'el_class'
),
'tdc_start_values' => base64_encode(
json_encode(
array(
array(
'image_align' => 'center',
'meta_info_align' => 'bottom',
'color_overlay' => 'eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOltdLCJjc3MiOiJiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApKTtiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQoMGRlZyxyZ2JhKDAsMCwwLDAuNykscmdiYSgwLDAsMCwwKSk7IiwiY3NzUGFyYW1zIjoiMGRlZyxyZ2JhKDAsMCwwLDAuNykscmdiYSgwLDAsMCwwKSJ9',
),
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' => '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' => '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_layout7',
'tdc_preset_individual' => '1',
"image_margin_right" => "",
),
array(
'tdc_preset_name' => '', // Layout style - normal
'tdc_preset_class' => 'tdcp_img tdcp_layout tdcp_layout8',
'tdc_preset_individual' => '1',
"image_margin_right" => "yes",
),
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" => "block",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h tdcp_clear',
'tdc_preset_individual' => '1',
"show_btn" => "",
),
array(
'tdc_preset_name' => 'Button', // Button
'tdc_preset_class' => 'tdcp_elements_text',
),
)
)
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "title_tag",
"type" => "dropdown",
"value" => array(
'Default - H4' => '',
'H1' => 'h1',
'H2' => 'h2',
'H3' => 'h3',
'Div' => 'div'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Content length',
"value" => "",
"class" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 2',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mc2_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mc2_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "mc2_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
),
),
self::get_map_filter_array('Filter', true),
// block cache
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Cache',
"value" => "",
"class" => "",
),
array(
"param_name" => "td_query_cache",
"type" => "checkbox",
"value" => '',
"heading" => "Cache block results",
"description" => "If enabled the block output will be cached",
"holder" => "div",
"class" => "",
"toggle_enable_params" => 'td_query_cache',
),
array(
"param_name" => "td_query_cache_expiration",
"type" => "dropdown-responsive",
"value" => array(
'1 minute' => '',
'5 minutes' => 5 * MINUTE_IN_SECONDS,
'10 minutes' => 10 * MINUTE_IN_SECONDS,
'30 minutes' => 30 * MINUTE_IN_SECONDS,
'1 hour' => 60 * MINUTE_IN_SECONDS,
'1 day' => 24 * HOUR_IN_SECONDS,
'1 week' => 7 * DAY_IN_SECONDS,
),
"heading" => 'Cache expiration',
"description" => "The block cache expiration time in seconds. Note that cache will be cleard when block's settings change.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"toggle_enabled_by" => 'td_query_cache',
),
),
self::get_map_block_ajax_filter_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Layout',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "modules_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules height',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "460",
"group" => "Layout",
),
array(
"param_name" => "modules_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules bottom space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "36",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "block_title_over",
"type" => "checkbox",
"value" => '',
"heading" => "Block title over image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "block_title_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Block title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"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(
'Full - Default - 1920x0px' => '',
'-- [No crop] --' => '__',
'XSmall - 150x0px' => 'td_150x0',
'Small - 300x0px' => 'td_300x0',
'Medium - 696x0px' => 'td_696x0',
'Large - 1068x0px' => 'td_1068x0',
'-- [Other sizes] --' => '__',
'218x150' => 'td_218x150',
'324x400px' => 'td_324x400',
'485x360' => 'td_485x360'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "image_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image negative margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_margin.png",
),
array(
"param_name" => "image_margin_right",
"type" => "checkbox",
"value" => '',
"heading" => "Reverse negative margin",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "image_margin_forced",
"type" => "checkbox",
"value" => '',
"heading" => "Auto stretch 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",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "video_popup",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Enable video pop-up",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_enable_video_pop-up.png",
),
array(
"param_name" => "video_rec",
"type" => "textarea_raw_html",
"holder" => "div",
"class" => "tdc-textarea-raw-small",
"heading" => 'Video pop-up ad',
"value" => "",
"description" => 'Paste your ad code here.',
'group' => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_video_popup_ad.png",
),
array(
"param_name" => "spot_header",
"type" => "spot_header",
"value" => "",
"class" => '',
'group' => 'Layout',
),
array(
"param_name" => "video_rec_title",
"type" => "textfield",
"value" => '',
"heading" => 'Ad title',
"description" => "",
"placeholder" => "- Advertisement -",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-spot-controller tdc-spot-title",
'group' => 'Layout',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-spot-controller tdc-spot-color",
"heading" => 'Ad title color',
"param_name" => "video_rec_color",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_rec_disable",
"type" => "checkbox",
"value" => '',
"heading" => "Hide ADS for admins/editors",
"description" => "Used to prevent fake clicks and views on ads by admins and editors",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "autoplay_vid",
"type" => "checkbox",
"value" => '',
"heading" => "Autoplay video",
"description" => "When it is inactive, the sound will be ON",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "show_vid_t",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show video duration',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
),
array(
"param_name" => "vid_t_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0 5px 0 0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
),
array(
"param_name" => "vid_t_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Video pop-up article title color',
"param_name" => "video_title_color",
"value" => '',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_title_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Video pop-up article title hover color',
"param_name" => "video_title_color_h",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_bg",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up background color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_background.png",
),
array(
"param_name" => "video_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up overlay color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_overlay_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "vid_t_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration text color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_text_color.png",
),
array(
"param_name" => "vid_t_bg_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration background color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_bg_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
),
td_config_helper::get_map_block_font_array( 'f_vid_title', true, 'Video pop-up article title', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_duration_title.png', '' ),
self::get_map_exclusive_label_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article meta info',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "meta_info_align",
"type" => "dropdown",
"value" => array(
'Top' => 'top',
'Center' => 'center',
'Bottom' => 'bottom',
),
"heading" => 'Meta info alignment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_vertical_align.png",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 40px 40px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "meta_info_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article title',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 8px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Category tag',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "modules_category_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "modules_cat_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
),
array(
'param_name' => 'modules_category_radius',
'type' => 'range-responsive',
'value' => '0',
'heading' => 'Border radius',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
),
array(
"param_name" => "show_cat",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Author / date / comment',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "show_com",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show comment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Review stars',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_review",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show review stars',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Excerpt',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_excerpt",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show excerpt',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
),
array(
"param_name" => "art_excerpt",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article excerpt space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "18px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
),
array(
"param_name" => "excerpt_middle",
"type" => "checkbox",
"value" => '',
"heading" => "Excerpt in middle",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_excerpt_in_middle.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Button',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_btn",
"type" => "dropdown-responsive",
"value" => array(
'Hide' => 'none',
'Show' => 'block',
),
"heading" => 'Show button',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_show.png",
),
array(
"param_name" => "btn_title",
"type" => "textfield",
"value" => '',
"heading" => 'Button text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "Read more",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_text.png",
),
array(
"param_name" => "btn_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_space.png",
),
array(
"param_name" => "btn_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "10px 15px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_padding.png",
),
array(
"param_name" => "btn_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_border.png",
),
array(
"param_name" => "btn_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_radius.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Pagination',
"value" => "",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "nextprev_position",
"type" => "dropdown-responsive",
"value" => array(
'Top right' => 'top',
'Bottom right' => 'bottom',
'Top left' => 'top-left',
'Top center' => 'top-center',
'Center left' => 'center-left',
'Center' => 'center-center',
'Center right' => 'center-right',
'Bottom left' => 'bottom-left',
'Bottom center' => 'bottom-center',
),
"heading" => 'Vertical and horizontal position',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class tdc-modal-align-selector",
"group" => "Layout",
),
array(
"param_name" => "nextprev_split",
"type" => "checkbox-responsive",
"value" => '',
"heading" => "Split icons (align to left & right)",
"description" => "",
"holder" => "div",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "nextprev",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px 20px 0px 0px",
"group" => "Layout",
),
array(
"param_name" => "pag_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_padding.png",
),
array(
"param_name" => "pag_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "1",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_border.png",
),
array(
"param_name" => "pag_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_border_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
'param_name' => 'prev_tdicon',
'type' => 'icon',
'heading' => 'Prev icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
),
array(
'param_name' => 'next_tdicon',
'type' => 'icon',
'heading' => 'Next icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
),
array(
"param_name" => "pag_icons_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Icons size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow_size.png",
),
array(
"param_name" => "pag_icons_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Space between icons',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "7",
"group" => "Layout",
),
),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Block fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_ajax', false, 'Ajax categories', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_ajax.png', '' ),
td_config_helper::get_map_block_font_array( 'f_more', false, 'Load more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_load_more.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_title', true, 'Article title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_read.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "color_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Module image overlay",
"value" => "",
"class" => "",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_image_overlay.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => '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',
"param_name" => "nextprev_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Next Prev hover background',
"param_name" => "nextprev_bg_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" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "all_underline_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Underline size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category border color',
"param_name" => "cat_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category border hover',
"param_name" => "cat_border_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment icon color',
"param_name" => "com_icon",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "rev_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_review_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Button',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button background',
"param_name" => "btn_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_button_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button background hover',
"param_name" => "btn_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button text color',
"param_name" => "btn_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_button_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button text hover',
"param_name" => "btn_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button border color',
"param_name" => "btn_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_button_border_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button border hover',
"param_name" => "btn_border_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
self::get_map_block_pagination_array()
)
)
);
td_api_block::add( 'td_flex_block_3',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Flex Block 3',
"base" => 'td_flex_block_3',
"class" => 'td_flex_block_3',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Blocks',
'icon' => 'icon-pagebuilder-td_flex_block_3',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_flex_block_3.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'td_ajax_filter_ids',
'td_filter_default_txt',
'td_ajax_preloading',
'ajax_pagination_infinite_stop',
'offset',
'columns',
'columns_gap',
'limit',
'el_class'
),
'tdc_start_values' => base64_encode(
json_encode(
array(
array(
"modules_category" => "image",
"modules_on_row" => "eyJhbGwiOiI1MCUiLCJsYW5kc2NhcGUiOiIxMDAlIn0=",
"modules_category1" => "image",
"show_cat2" => "none",
"show_com2" => "none",
"show_author2" => "none",
"columns" => "eyJhbGwiOiI1MCUiLCJwaG9uZSI6IjEwMCUifQ==",
"columns_gap" => "eyJsYW5kc2NhcGUiOiI0MCIsInBvcnRyYWl0IjoiMjgifQ==",
"image_width2" => "eyJwb3J0cmFpdCI6IjM1In0=",
"modules_space1" => "eyJhbGwiOiIwIiwicGhvbmUiOiIyMSJ9",
"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_title1_font_family" => "394",
"f_ex1_font_family" => "fs_4",
"f_btn1_font_family" => "fs_4",
"f_title2_font_family" => "394",
"f_ex2_font_family" => "fs_4",
"f_btn2_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_title1_font_family" => "721",
"f_ex1_font_family" => "653",
"f_btn1_font_family" => "653",
"f_title2_font_family" => "721",
"f_ex2_font_family" => "653",
"f_btn2_font_family" => "653",
),
array(
'tdc_preset_name' => '', // Font - Raleway/Raleway
'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
'tdc_preset_individual' => '1',
"f_title1_font_family" => "507",
"f_ex1_font_family" => "507",
"f_btn1_font_family" => "507",
"f_title2_font_family" => "507",
"f_ex2_font_family" => "507",
"f_btn2_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_title1_font_family" => "653",
"f_ex1_font_family" => "653",
"f_btn1_font_family" => "653",
"f_title2_font_family" => "653",
"f_ex2_font_family" => "653",
"f_btn2_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_title1_font_family" => "147",
"f_ex1_font_family" => "",
"f_btn1_font_family" => "",
"f_title2_font_family" => "147",
"f_ex2_font_family" => "",
"f_btn2_font_family" => "",
),
array(
'tdc_preset_name' => '', // Font - Oswald/EB garamond
'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
'tdc_preset_individual' => '1',
"f_title1_font_family" => "445",
"f_ex1_font_family" => "185",
"f_btn1_font_family" => "185",
"f_title2_font_family" => "445",
"f_ex2_font_family" => "185",
"f_btn2_font_family" => "185",
),
array(
'tdc_preset_name' => '', // Font - Muli/Muli
'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
'tdc_preset_individual' => '1',
"f_title1_font_family" => "406",
"f_ex1_font_family" => "406",
"f_btn1_font_family" => "406",
"f_title2_font_family" => "406",
"f_ex2_font_family" => "406",
"f_btn2_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_title1_font_family" => "646",
"f_ex1_font_family" => "297",
"f_btn1_font_family" => "297",
"f_title2_font_family" => "646",
"f_ex2_font_family" => "297",
"f_btn2_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_title1_font_family" => "41",
"f_ex1_font_family" => "523",
"f_btn1_font_family" => "523",
"f_title2_font_family" => "41",
"f_ex2_font_family" => "523",
"f_btn2_font_family" => "523",
),
array(
'tdc_preset_name' => '', // Font - Quicksand/Muli
'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
'tdc_preset_individual' => '1',
"f_title1_font_family" => "502",
"f_ex1_font_family" => "406",
"f_btn1_font_family" => "406",
"f_title2_font_family" => "502",
"f_ex2_font_family" => "406",
"f_btn2_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_title1_font_family" => "331",
"f_ex1_font_family" => "406",
"f_btn1_font_family" => "406",
"f_title2_font_family" => "331",
"f_ex2_font_family" => "406",
"f_btn2_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_title1_font_family" => "663",
"f_ex1_font_family" => "297",
"f_btn1_font_family" => "297",
"f_title2_font_family" => "663",
"f_ex2_font_family" => "297",
"f_btn2_font_family" => "297",
),
array(
'tdc_preset_name' => '', // Font - Volkorn/Montserrat
'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
'tdc_preset_individual' => '1',
"f_title1_font_family" => "639",
"f_ex1_font_family" => "394",
"f_btn1_font_family" => "394",
"f_title2_font_family" => "639",
"f_ex2_font_family" => "394",
"f_btn2_font_family" => "394",
),
array(
'tdc_preset_name' => '', // Font - Default
'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
'tdc_preset_individual' => '1',
"f_title1_font_family" => "",
"f_ex1_font_family" => "",
"f_btn1_font_family" => "",
"f_title2_font_family" => "",
"f_ex2_font_family" => "",
"f_btn2_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_ex1_font_size" => "",
"f_ex1_font_line_height" => "",
"f_title2_font_size" => "eyJhbGwiOiIxMiIsInBvcnRyYWl0IjoiMTEiLCJwaG9uZSI6IjEzIn0=",
"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_ex1_font_size" => "",
"f_ex1_font_line_height" => "",
"f_title2_font_size" => "eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIifQ==",
"f_title2_font_line_height" => "eyJwaG9uZSI6IjEuMyIsImFsbCI6IjEuNCJ9",
),
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_ex1_font_size" => "",
"f_ex1_font_line_height" => "",
"f_title2_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
"f_title2_font_line_height" => "1.4",
),
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_ex1_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
"f_ex1_font_line_height" => "1.5",
"f_title2_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
"f_title2_font_line_height" => "1.4",
),
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" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
"f_title2_font_line_height" => "1.4",
),
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_ex1_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjEzIn0=",
"f_ex1_font_line_height" => "1.5",
"f_title2_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjE0IiwibGFuZHNjYXBlIjoiMTUifQ==",
"f_title2_font_line_height" => "1.4",
),
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_horiz1" => "content-horiz-left",
"meta_info_horiz2" => "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_horiz1" => "content-horiz-center",
"meta_info_horiz2" => "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_horiz1" => "content-horiz-right",
"meta_info_horiz2" => "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",
"hide_image2" => "yes",
),
array(
'tdc_preset_name' => '', // Image format - 2:3
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image2',
'tdc_preset_individual' => '1',
"image_height1" => "150",
"image_height2" => "150",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 3:4
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image3',
'tdc_preset_individual' => '1',
"image_height1" => "133",
"image_height2" => "133",
"hide_image" => "",
"hide_image1" => "",
),
array(
'tdc_preset_name' => '', // Image format - 7:8
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image4',
'tdc_preset_individual' => '1',
"image_height1" => "114",
"image_height2" => "114",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 1:1
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image5',
'tdc_preset_individual' => '1',
"image_height1" => "100",
"image_height2" => "100",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 5:4
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image6',
'tdc_preset_individual' => '1',
"image_height1" => "80",
"image_height2" => "80",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 4:3
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image7',
'tdc_preset_individual' => '1',
"image_height1" => "75",
"image_height2" => "75",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 3:2
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image8',
'tdc_preset_individual' => '1',
"image_height1" => "67",
"image_height2" => "67",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 16:9
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image9',
'tdc_preset_individual' => '1',
"image_height1" => "56",
"image_height2" => "56",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 18:9
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image10',
'tdc_preset_individual' => '1',
"image_height1" => "50",
"image_height2" => "50",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 21:9
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image11',
'tdc_preset_individual' => '1',
"image_height1" => "40",
"image_height2" => "40",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 30:9
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image12',
'tdc_preset_individual' => '1',
"image_height1" => "30",
"image_height2" => "30",
"hide_image" => "",
"hide_image2" => "",
),
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',
"columns" => "",
"modules_gap" => "",
),
array(
'tdc_preset_name' => '', // Columns - 2
'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col2',
'tdc_preset_individual' => '1',
"columns" => "eyJhbGwiOiI1MCUiLCJwaG9uZSI6IjEwMCUifQ==",
"columns_gap" => "eyJhbGwiOiI0OCIsInBvcnRyYWl0IjoiMjgiLCJsYW5kc2NhcGUiOiI0MCJ9",
"limit" => "5",
),
array(
'tdc_preset_name' => '', // Columns - 3
'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col3',
'tdc_preset_individual' => '1',
"columns" => "eyJhbGwiOiIzMy4zMzMzMzMzMyUiLCJwaG9uZSI6IjEwMCUifQ==",
"columns_gap" => "eyJhbGwiOiI0OCIsInBvcnRyYWl0IjoiMjgiLCJsYW5kc2NhcGUiOiI0MCJ9",
"limit" => "9",
),
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_cat1" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_cat1" => "none",
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s tdcp_elements_s_small',
'tdc_preset_individual' => '1',
"show_cat2" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_cat2" => "none",
),
array(
'tdc_preset_name' => 'Category tag', // Category tag
'tdc_preset_class' => 'tdcp_elements_text tdcp_elements_text_small',
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
'tdc_preset_individual' => '1',
"show_author1" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_author1" => "none",
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s tdcp_elements_s_small',
'tdc_preset_individual' => '1',
"show_author2" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_author2" => "none",
),
array(
'tdc_preset_name' => 'Author', // Author
'tdc_preset_class' => 'tdcp_elements_text tdcp_elements_text_small',
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
'tdc_preset_individual' => '1',
"show_date1" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_date1" => "none",
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s tdcp_elements_s_small',
'tdc_preset_individual' => '1',
"show_date2" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_date2" => "none",
),
array(
'tdc_preset_name' => 'Date', // Date
'tdc_preset_class' => 'tdcp_elements_text tdcp_elements_text_small',
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
'tdc_preset_individual' => '1',
"show_review1" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_review1" => "none",
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s tdcp_elements_s_small',
'tdc_preset_individual' => '1',
"show_review2" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_review2" => "none",
),
array(
'tdc_preset_name' => 'Review stars', // Review
'tdc_preset_class' => 'tdcp_elements_text tdcp_elements_text_small',
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
'tdc_preset_individual' => '1',
"show_com1" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_com1" => "none",
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s tdcp_elements_s_small',
'tdc_preset_individual' => '1',
"show_com2" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_com2" => "none",
),
array(
'tdc_preset_name' => 'Comment tag', // Comment tag
'tdc_preset_class' => 'tdcp_elements_text tdcp_elements_text_small',
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
'tdc_preset_individual' => '1',
"show_excerpt1" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h tdcp_clear',
'tdc_preset_individual' => '1',
"show_excerpt1" => "none",
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_disabled tdcp_elements_s tdcp_elements_s_small',
'tdc_preset_individual' => '1',
"show_excerpt2" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_disabled tdcp_elements_h tdcp_clear',
'tdc_preset_individual' => '1',
"show_excerpt2" => "none",
),
array(
'tdc_preset_name' => 'Excerpt', // Excerpt
'tdc_preset_class' => 'tdcp_elements_text tdcp_elements_text_small',
),
)
)
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "title_tag",
"type" => "dropdown",
"value" => array(
'Default - H4' => '',
'H1' => 'h1',
'H2' => 'h2',
'H3' => 'h3',
'Div' => 'div'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Content length',
"value" => "",
"class" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 1',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mc1_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mc1_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "mc1_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 3',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mc3_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mc3_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
),
self::get_map_filter_array('Filter', true),
// block cache
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Cache',
"value" => "",
"class" => "",
),
array(
"param_name" => "td_query_cache",
"type" => "checkbox",
"value" => '',
"heading" => "Cache block results",
"description" => "If enabled the block output will be cached",
"holder" => "div",
"class" => "",
"toggle_enable_params" => 'td_query_cache',
),
array(
"param_name" => "td_query_cache_expiration",
"type" => "dropdown-responsive",
"value" => array(
'1 minute' => '',
'5 minutes' => 5 * MINUTE_IN_SECONDS,
'10 minutes' => 10 * MINUTE_IN_SECONDS,
'30 minutes' => 30 * MINUTE_IN_SECONDS,
'1 hour' => 60 * MINUTE_IN_SECONDS,
'1 day' => 24 * HOUR_IN_SECONDS,
'1 week' => 7 * DAY_IN_SECONDS,
),
"heading" => 'Cache expiration',
"description" => "The block cache expiration time in seconds. Note that cache will be cleard when block's settings change.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"toggle_enabled_by" => 'td_query_cache',
),
),
self::get_map_block_ajax_filter_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Layout',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "columns",
"type" => "dropdown-responsive",
"value" => array(
'1' => '100%',
'2' => '50%',
'3' => '33.33333333%',
),
"heading" => 'Columns',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-small",
"group" => "Layout",
// 'live' => 1,
),
array(
"param_name" => "columns_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Columns gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "48",
"group" => "Layout",
),
array(
"param_name" => "h_effect",
"type" => "dropdown",
"value" => array(
'None' => '',
'Shadow' => 'shadow',
'Move up & shadow' => 'up-shadow',
),
"heading" => 'Hover effect',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_hover_effect.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module 1',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "modules_space1",
"type" => "textfield-responsive",
"value" => '0',
"heading" => 'Modules bottom space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
// 'live' => 1,
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "modules_border_size1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
),
array(
"param_name" => "modules_border_style1",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color1",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "modules_divider1",
"type" => "dropdown-responsive",
"value" => array(
'None' => '',
'Solid' => 'solid',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Module divider',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Module divider color',
"param_name" => "modules_divider_color1",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'Medium - Default - 696x0px' => '',
'-- [No crop] --' => '__',
'XSmall - 150x0px' => 'td_150x0',
'Small - 300x0px' => 'td_300x0',
'Large - 1068x0px' => 'td_1068x0',
'Full - 1920x0px' => 'td_1920x0',
'-- [Other sizes] --' => '__',
'218x150px' => 'td_218x150',
'324x400px' => 'td_324x400',
'485x360' => 'td_485x360'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment1',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_height1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "72",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "image_radius1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
),
array(
"param_name" => "hide_image",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article video',
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "video_popup",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Enable video pop-up",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_enable_video_pop-up.png",
),
array(
"param_name" => "video_rec",
"type" => "textarea_raw_html",
"holder" => "div",
"class" => "tdc-textarea-raw-small",
"heading" => 'Video pop-up ad',
"value" => "",
"description" => 'Paste your ad code here.',
'group' => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_video_popup_ad.png",
),
array(
"param_name" => "spot_header",
"type" => "spot_header",
"value" => "",
"class" => '',
'group' => 'Layout',
),
array(
"param_name" => "video_rec_title",
"type" => "textfield",
"value" => '',
"heading" => 'Ad title',
"description" => "",
"placeholder" => "- Advertisement -",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-spot-controller tdc-spot-title",
'group' => 'Layout',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-spot-controller tdc-spot-color",
"heading" => 'Ad title color',
"param_name" => "video_rec_color",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_rec_disable",
"type" => "checkbox",
"value" => '',
"heading" => "Hide ADS for admins/editors",
"description" => "Used to prevent fake clicks and views on ads by admins and editors",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "autoplay_vid",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Autoplay video",
"description" => "When it is inactive, the sound will be ON",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "show_vid_t",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show video duration',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
),
array(
"param_name" => "vid_t_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
),
array(
"param_name" => "vid_t_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Video pop-up article title color',
"param_name" => "video_title_color",
"value" => '',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_title_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Video pop-up article title hover color',
"param_name" => "video_title_color_h",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_bg",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up background color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_background.png",
),
array(
"param_name" => "video_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up overlay color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_overlay_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "vid_t_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration text color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_text_color.png",
),
array(
"param_name" => "vid_t_bg_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration background color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_bg_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
),
td_config_helper::get_map_block_font_array( 'f_vid_title', true, 'Video pop-up article title', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_duration_title.png', '' ),
self::get_map_exclusive_label_array('1', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article meta info',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "meta_info_align1",
"type" => "dropdown-responsive",
"value" => array(
'Bottom' => '',
'Top' => 'initial',
),
"heading" => 'Meta info alignment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_vertical_align.png",
),
array(
"param_name" => "meta_info_horiz1",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "13px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "meta_info_border_radius1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "",
),
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 6px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Over image' => 'image',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "modules_category_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "modules_cat_border1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
),
array(
'param_name' => 'modules_category_radius1',
'type' => 'range-responsive',
'value' => '0',
'heading' => 'Category tag border radius',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
),
array(
"param_name" => "show_cat1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category tag',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat1",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide'
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "author_photo",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo.png",
),
array(
"param_name" => "author_photo_size1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
),
array(
"param_name" => "author_photo_space1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "6",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
),
array(
"param_name" => "author_photo_radius1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "show_com1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show comment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size1',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_excerpt1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show excerpt',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
),
array(
"param_name" => "art_excerpt1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article excerpt space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "16px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
),
array(
"param_name" => "excerpt_middle",
"type" => "checkbox",
"value" => '',
"heading" => "Excerpt in middle",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_excerpt_in_middle.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article audio player',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_audio1",
"type" => "dropdown-responsive",
"value" => array(
'Visible' => 'block',
'Hidden' => 'none',
),
"heading" => 'Show audio player',
"description" => "This will hide the audio player responsive",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "hide_audio",
"type" => "checkbox",
"value" => '',
"heading" => "Remove audio player",
"description" => "This will remove the audio player from code",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_audio1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Audio player space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_space.png",
),
array(
'param_name' => 'art_audio_size1',
'type' => 'range-responsive',
'value' => '1.5',
'heading' => 'Audio player size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_size.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module 2',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "modules_space2",
"type" => "textfield-responsive",
"value" => '26',
"heading" => 'Modules bottom space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "26",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "modules_border_size2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
),
array(
"param_name" => "modules_border_style2",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color2",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "modules_divider2",
"type" => "dropdown-responsive",
"value" => array(
'None' => '',
'Solid' => 'solid',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Modules divider',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Modules divider color',
"param_name" => "modules_divider_color2",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "image_size2",
"type" => "dropdown",
"value" => array(
'Default - 218x150px' => '',
'-- [No crop] --' => '__',
'XSmall - 150x0px' => 'td_150x0',
'Small - 300x0px' => 'td_300x0',
'Medium - 696x0px' => 'td_696x0',
'Large - 1068x0px' => 'td_1068x0',
'Full - 1920x0px' => 'td_1920x0',
'-- [Other sizes] --' => '__',
'324x400px' => 'td_324x400',
'485x360' => 'td_485x360'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment2',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (0-100 percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "30",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "image_radius2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
),
array(
"param_name" => "hide_image2",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article video',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_popup2",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Enable video pop-up",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_enable_video_pop-up.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "video_rec2",
"type" => "textarea_raw_html",
"holder" => "div",
"class" => "tdc-textarea-raw-small",
"heading" => 'Video pop-up ad',
"value" => "",
"description" => 'Paste your ad code here.',
'group' => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_video_popup_ad.png",
),
array(
"param_name" => "spot_header",
"type" => "spot_header",
"value" => "",
"class" => '',
'group' => 'Layout',
),
array(
"param_name" => "video_rec_title2",
"type" => "textfield",
"value" => '',
"heading" => 'Ad title',
"description" => "",
"placeholder" => "- Advertisement -",
"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_color2",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_rec_disable",
"type" => "checkbox",
"value" => '',
"heading" => "Hide ADS for admins/editors",
"description" => "Used to prevent fake clicks and views on ads by admins and editors",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "autoplay_vid2",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Autoplay video",
"description" => "When it is inactive, the sound will be ON",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "show_vid_t2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show video duration',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
),
array(
"param_name" => "vid_t_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
),
array(
"param_name" => "vid_t_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
),
),
self::get_map_exclusive_label_array('2', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article meta info',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "meta_info_align2",
"type" => "dropdown-responsive",
"value" => array(
'Top' => 'initial',
'Center' => 'center',
'Bottom' => 'flex-end',
),
"heading" => 'Meta info alignment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_vertical_align.png",
),
array(
"param_name" => "meta_info_horiz2",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "13px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "meta_info_border_radius2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "",
),
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 6px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category2",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Over image' => 'image',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "modules_category_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "modules_cat_border2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
),
array(
'param_name' => 'modules_category_radius2',
'type' => 'range-responsive',
'value' => '0',
'heading' => 'Category tag border radius',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
),
array(
"param_name" => "show_cat2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category tag',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat2",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide'
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "author_photo2",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "author_photo_size2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
),
array(
"param_name" => "author_photo_space2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "6",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
),
array(
"param_name" => "author_photo_radius2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "show_com2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show comment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size2',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article audio player',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_audio2",
"type" => "dropdown-responsive",
"value" => array(
'Visible' => 'block',
'Hidden' => 'none',
),
"heading" => 'Show audio player',
"description" => "This will hide the audio player responsive",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "hide_audio2",
"type" => "checkbox",
"value" => '',
"heading" => "Remove audio player",
"description" => "This will remove the audio player from code",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_audio2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Audio player space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_space.png",
),
array(
'param_name' => 'art_audio_size2',
'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" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_size.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Pagination',
"value" => "",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "pag_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Top space',
"description" => "",
"placeholder" => "20",
"holder" => "div",
"class" => "tdc-textfield-small",
'group' => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_space.png",
),
array(
"param_name" => "pag_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_padding.png",
),
array(
"param_name" => "pag_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "1",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_border.png",
),
array(
"param_name" => "pag_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_border_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
'param_name' => 'prev_tdicon',
'type' => 'icon',
'heading' => 'Prev icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
),
array(
'param_name' => 'next_tdicon',
'type' => 'icon',
'heading' => 'Next icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
),
array(
"param_name" => "pag_icons_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Icons size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow_size.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Block fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_ajax', false, 'Ajax categories', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_ajax.png', '' ),
td_config_helper::get_map_block_font_array( 'f_more', false, 'Load more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_load_more.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_title1', true, 'Article title 1', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Article category tag 1', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Article meta info 1', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_ex1', false, 'Article excerpt 1', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Article title 2', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Article category tag 2', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Article meta info 2', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
),
td_config_helper::get_map_block_shadow_array('shadow', 'Module Shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
array(
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article title',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "all_underline_height1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Underline size Module 1',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
),
array(
"param_name" => "all_underline_height2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Underline size Module 2',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '#000',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Category tag',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category border color',
"param_name" => "cat_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category border hover',
"param_name" => "cat_border_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Meta info',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment background',
"param_name" => "com_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "rev_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_review_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Audio player',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Buttons color',
"param_name" => "audio_btn_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_buttons.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Time text color',
"param_name" => "audio_time_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_time.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars background color',
"param_name" => "audio_bar_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_bar.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars progress color',
"param_name" => "audio_bar_curr_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_progress.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Pagination',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Text color',
"param_name" => "pag_text",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Text hover color',
"param_name" => "pag_h_text",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Background color',
"param_name" => "pag_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Background hover color',
"param_name" => "pag_h_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Border color',
"param_name" => "pag_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Border hover color',
"param_name" => "pag_h_border",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "btn_title",
"type" => "textfield",
"value" => '',
"heading" => 'Button text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big tdc-hidden",
"placeholder" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_text.png",
),
),
self::get_map_block_pagination_array()
)
)
);
td_api_block::add( 'td_flex_block_4',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Flex Block 4',
"base" => 'td_flex_block_4',
"class" => 'td_flex_block_4',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Blocks',
'icon' => 'icon-pagebuilder-td_flex_block_4',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_flex_block_4.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'td_ajax_filter_ids',
'td_filter_default_txt',
'td_ajax_preloading',
'ajax_pagination_infinite_stop',
'offset',
'columns',
'columns_gap',
'limit',
'el_class'
),
'tdc_start_values' => base64_encode(
json_encode(
array(
array(
"modules_category" => "image",
"modules_on_row" => "eyJhbGwiOiI1MCUiLCJsYW5kc2NhcGUiOiIxMDAlIn0=",
"modules_category1" => "image",
"show_cat2" => "none",
"show_com2" => "none",
"show_author2" => "none",
"columns" => "50%",
"columns_gap" => "eyJsYW5kc2NhcGUiOiI0MCIsInBvcnRyYWl0IjoiMjgifQ==",
"image_width2" => "eyJwb3J0cmFpdCI6IjM1In0=",
"modules_space1" => "eyJwaG9uZSI6IjIxIiwiYWxsIjoiMjEifQ==",
"limit" => "6",
"show_excerpt1" => "",
"show_excerpt2" => "none",
"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_title1_font_family" => "394",
"f_ex1_font_family" => "fs_4",
"f_btn1_font_family" => "fs_4",
"f_title2_font_family" => "394",
"f_ex2_font_family" => "fs_4",
"f_btn2_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_title1_font_family" => "721",
"f_ex1_font_family" => "653",
"f_btn1_font_family" => "653",
"f_title2_font_family" => "721",
"f_ex2_font_family" => "653",
"f_btn2_font_family" => "653",
),
array(
'tdc_preset_name' => '', // Font - Raleway/Raleway
'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font3',
'tdc_preset_individual' => '1',
"f_title1_font_family" => "507",
"f_ex1_font_family" => "507",
"f_btn1_font_family" => "507",
"f_title2_font_family" => "507",
"f_ex2_font_family" => "507",
"f_btn2_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_title1_font_family" => "653",
"f_ex1_font_family" => "653",
"f_btn1_font_family" => "653",
"f_title2_font_family" => "653",
"f_ex2_font_family" => "653",
"f_btn2_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_title1_font_family" => "147",
"f_ex1_font_family" => "",
"f_btn1_font_family" => "",
"f_title2_font_family" => "147",
"f_ex2_font_family" => "",
"f_btn2_font_family" => "",
),
array(
'tdc_preset_name' => '', // Font - Oswald/EB garamond
'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font7',
'tdc_preset_individual' => '1',
"f_title1_font_family" => "445",
"f_ex1_font_family" => "185",
"f_btn1_font_family" => "185",
"f_title2_font_family" => "445",
"f_ex2_font_family" => "185",
"f_btn2_font_family" => "185",
),
array(
'tdc_preset_name' => '', // Font - Muli/Muli
'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font8',
'tdc_preset_individual' => '1',
"f_title1_font_family" => "406",
"f_ex1_font_family" => "406",
"f_btn1_font_family" => "406",
"f_title2_font_family" => "406",
"f_ex2_font_family" => "406",
"f_btn2_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_title1_font_family" => "646",
"f_ex1_font_family" => "297",
"f_btn1_font_family" => "297",
"f_title2_font_family" => "646",
"f_ex2_font_family" => "297",
"f_btn2_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_title1_font_family" => "41",
"f_ex1_font_family" => "523",
"f_btn1_font_family" => "523",
"f_title2_font_family" => "41",
"f_ex2_font_family" => "523",
"f_btn2_font_family" => "523",
),
array(
'tdc_preset_name' => '', // Font - Quicksand/Muli
'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font11',
'tdc_preset_individual' => '1',
"f_title1_font_family" => "502",
"f_ex1_font_family" => "406",
"f_btn1_font_family" => "406",
"f_title2_font_family" => "502",
"f_ex2_font_family" => "406",
"f_btn2_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_title1_font_family" => "331",
"f_ex1_font_family" => "406",
"f_btn1_font_family" => "406",
"f_title2_font_family" => "331",
"f_ex2_font_family" => "406",
"f_btn2_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_title1_font_family" => "663",
"f_ex1_font_family" => "297",
"f_btn1_font_family" => "297",
"f_title2_font_family" => "663",
"f_ex2_font_family" => "297",
"f_btn2_font_family" => "297",
),
array(
'tdc_preset_name' => '', // Font - Volkorn/Montserrat
'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font14',
'tdc_preset_individual' => '1',
"f_title1_font_family" => "639",
"f_ex1_font_family" => "394",
"f_btn1_font_family" => "394",
"f_title2_font_family" => "639",
"f_ex2_font_family" => "394",
"f_btn2_font_family" => "394",
),
array(
'tdc_preset_name' => '', // Font - Default
'tdc_preset_class' => 'tdcp_img tdcp_font tdcp_font6',
'tdc_preset_individual' => '1',
"f_title1_font_family" => "",
"f_ex1_font_family" => "",
"f_btn1_font_family" => "",
"f_title2_font_family" => "",
"f_ex2_font_family" => "",
"f_btn2_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_ex1_font_size" => "",
"f_ex1_font_line_height" => "",
"f_title2_font_size" => "eyJhbGwiOiIxMiIsInBvcnRyYWl0IjoiMTEiLCJwaG9uZSI6IjEzIn0=",
"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_ex1_font_size" => "",
"f_ex1_font_line_height" => "",
"f_title2_font_size" => "eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIifQ==",
"f_title2_font_line_height" => "eyJwaG9uZSI6IjEuMyIsImFsbCI6IjEuNCJ9",
),
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_ex1_font_size" => "",
"f_ex1_font_line_height" => "",
"f_title2_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
"f_title2_font_line_height" => "1.4",
),
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_ex1_font_size" => "eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
"f_ex1_font_line_height" => "1.5",
"f_title2_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
"f_title2_font_line_height" => "1.4",
),
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" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTMiLCJwaG9uZSI6IjEzIn0=",
"f_title2_font_line_height" => "1.4",
),
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_ex1_font_size" => "eyJhbGwiOiIxNSIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjEzIn0=",
"f_ex1_font_line_height" => "1.5",
"f_title2_font_size" => "eyJhbGwiOiIxNiIsInBvcnRyYWl0IjoiMTQiLCJwaG9uZSI6IjE0IiwibGFuZHNjYXBlIjoiMTUifQ==",
"f_title2_font_line_height" => "1.4",
),
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_horiz1" => "content-horiz-left",
"meta_info_horiz2" => "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_horiz1" => "content-horiz-center",
"meta_info_horiz2" => "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_horiz1" => "content-horiz-right",
"meta_info_horiz2" => "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",
"hide_image3" => "yes",
),
array(
'tdc_preset_name' => '', // Image format - 2:3
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image2',
'tdc_preset_individual' => '1',
"image_height1" => "150",
"image_height2" => "150",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 3:4
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image3',
'tdc_preset_individual' => '1',
"image_height1" => "133",
"image_height2" => "133",
"hide_image" => "",
"hide_image1" => "",
),
array(
'tdc_preset_name' => '', // Image format - 7:8
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image4',
'tdc_preset_individual' => '1',
"image_height1" => "114",
"image_height2" => "114",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 1:1
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image5',
'tdc_preset_individual' => '1',
"image_height1" => "100",
"image_height2" => "100",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 5:4
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image6',
'tdc_preset_individual' => '1',
"image_height1" => "80",
"image_height2" => "80",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 4:3
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image7',
'tdc_preset_individual' => '1',
"image_height1" => "75",
"image_height2" => "75",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 3:2
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image8',
'tdc_preset_individual' => '1',
"image_height1" => "67",
"image_height2" => "67",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 16:9
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image9',
'tdc_preset_individual' => '1',
"image_height1" => "56",
"image_height2" => "56",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 18:9
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image10',
'tdc_preset_individual' => '1',
"image_height1" => "50",
"image_height2" => "50",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 21:9
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image11',
'tdc_preset_individual' => '1',
"image_height1" => "40",
"image_height2" => "40",
"hide_image" => "",
"hide_image2" => "",
),
array(
'tdc_preset_name' => '', // Image format - 30:9
'tdc_preset_class' => 'tdcp_img tdcp_image tdcp_image12',
'tdc_preset_individual' => '1',
"image_height1" => "30",
"image_height2" => "30",
"hide_image" => "",
"hide_image2" => "",
),
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',
"columns" => "100%",
"modules_gap" => "",
),
array(
'tdc_preset_name' => '', // Columns - 2
'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col2',
'tdc_preset_individual' => '1',
"columns" => "50%",
"columns_gap" => "eyJhbGwiOiI0OCIsInBvcnRyYWl0IjoiMjgiLCJsYW5kc2NhcGUiOiI0MCJ9",
"limit" => "6",
),
array(
'tdc_preset_name' => '', // Columns - 3
'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col3',
'tdc_preset_individual' => '1',
"columns" => "33.33333333%",
"columns_gap" => "eyJhbGwiOiI0OCIsInBvcnRyYWl0IjoiMjgiLCJsYW5kc2NhcGUiOiI0MCJ9",
"limit" => "9",
),
array(
'tdc_preset_name' => '', // Columns - 4
'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col4',
'tdc_preset_individual' => '1',
"columns" => "25%",
"columns_gap" => "eyJhbGwiOiIxLjIlIiwicGhvbmUiOiIzJSJ9",
"limit" => "12",
),
array(
'tdc_preset_name' => '', // Columns - 5
'tdc_preset_class' => 'tdcp_img tdcp_col tdcp_col5',
'tdc_preset_individual' => '1',
"columns" => "20%",
"columns_gap" => "1%",
"limit" => "15",
),
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_cat1" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_cat1" => "none",
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s tdcp_elements_s_small',
'tdc_preset_individual' => '1',
"show_cat2" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_cat2" => "none",
),
array(
'tdc_preset_name' => 'Category tag', // Category tag
'tdc_preset_class' => 'tdcp_elements_text tdcp_elements_text_small',
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
'tdc_preset_individual' => '1',
"show_author1" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_author1" => "none",
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s tdcp_elements_s_small',
'tdc_preset_individual' => '1',
"show_author2" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_author2" => "none",
),
array(
'tdc_preset_name' => 'Author', // Author
'tdc_preset_class' => 'tdcp_elements_text tdcp_elements_text_small',
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
'tdc_preset_individual' => '1',
"show_date1" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_date1" => "none",
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s tdcp_elements_s_small',
'tdc_preset_individual' => '1',
"show_date2" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_date2" => "none",
),
array(
'tdc_preset_name' => 'Date', // Author
'tdc_preset_class' => 'tdcp_elements_text tdcp_elements_text_small',
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
'tdc_preset_individual' => '1',
"show_review1" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_review1" => "none",
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s tdcp_elements_s_small',
'tdc_preset_individual' => '1',
"show_review2" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_review2" => "none",
),
array(
'tdc_preset_name' => 'Review stars', // Review
'tdc_preset_class' => 'tdcp_elements_text tdcp_elements_text_small',
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
'tdc_preset_individual' => '1',
"show_com1" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_com1" => "none",
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s tdcp_elements_s_small',
'tdc_preset_individual' => '1',
"show_com2" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h',
'tdc_preset_individual' => '1',
"show_com2" => "none",
),
array(
'tdc_preset_name' => 'Comment tag', // Comment tag
'tdc_preset_class' => 'tdcp_elements_text tdcp_elements_text_small',
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s',
'tdc_preset_individual' => '1',
"show_excerpt1" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h tdcp_clear',
'tdc_preset_individual' => '1',
"show_excerpt1" => "none",
),
array(
'tdc_preset_name' => '', // Show
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_s tdcp_elements_s_small',
'tdc_preset_individual' => '1',
"show_excerpt2" => "",
),
array(
'tdc_preset_name' => '', // Hide
'tdc_preset_class' => 'tdcp_img tdcp_elements tdcp_elements_h tdcp_clear',
'tdc_preset_individual' => '1',
"show_excerpt2" => "none",
),
array(
'tdc_preset_name' => 'Excerpt', // Excerpt
'tdc_preset_class' => 'tdcp_elements_text tdcp_elements_text_small',
),
)
)
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "title_tag",
"type" => "dropdown",
"value" => array(
'Default - H4' => '',
'H1' => 'h1',
'H2' => 'h2',
'H3' => 'h3',
'Div' => 'div'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Content length',
"value" => "",
"class" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 1',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mc1_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mc1_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "mc1_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 4',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mc4_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mc4_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "mc4_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
),
),
self::get_map_filter_array('Filter', true),
// block cache
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Cache',
"value" => "",
"class" => "",
),
array(
"param_name" => "td_query_cache",
"type" => "checkbox",
"value" => '',
"heading" => "Cache block results",
"description" => "If enabled the block output will be cached",
"holder" => "div",
"class" => "",
"toggle_enable_params" => 'td_query_cache',
),
array(
"param_name" => "td_query_cache_expiration",
"type" => "dropdown-responsive",
"value" => array(
'1 minute' => '',
'5 minutes' => 5 * MINUTE_IN_SECONDS,
'10 minutes' => 10 * MINUTE_IN_SECONDS,
'30 minutes' => 30 * MINUTE_IN_SECONDS,
'1 hour' => 60 * MINUTE_IN_SECONDS,
'1 day' => 24 * HOUR_IN_SECONDS,
'1 week' => 7 * DAY_IN_SECONDS,
),
"heading" => 'Cache expiration',
"description" => "The block cache expiration time in seconds. Note that cache will be cleard when block's settings change.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"toggle_enabled_by" => 'td_query_cache',
),
),
self::get_map_block_ajax_filter_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Layout',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "columns",
"type" => "dropdown",
"value" => array(
'1' => '100%',
'2' => '50%',
'3' => '33.33333333%',
'4' => '25%',
'5' => '20%',
),
"heading" => 'Columns',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-small",
"group" => "Layout",
),
array(
"param_name" => "columns_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Columns gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "48",
"group" => "Layout",
),
array(
"param_name" => "h_effect",
"type" => "dropdown",
"value" => array(
'None' => '',
'Shadow' => 'shadow',
'Move up & shadow' => 'up-shadow',
),
"heading" => 'Hover effect',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_hover_effect.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module 1',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "modules_space1",
"type" => "textfield-responsive",
"value" => '21',
"heading" => 'Modules bottom space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "21",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "modules_border_size1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
),
array(
"param_name" => "modules_border_style1",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color1",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "modules_divider1",
"type" => "dropdown",
"value" => array(
'None' => '',
'Solid' => 'solid',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Module divider',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Module divider color',
"param_name" => "modules_divider_color1",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'Medium - Default - 696x0px' => '',
'-- [No crop] --' => '__',
'XSmall - 150x0px' => 'td_150x0',
'Small - 300x0px' => 'td_300x0',
'Large - 1068x0px' => 'td_1068x0',
'Full - 1920x0px' => 'td_1920x0',
'-- [Other sizes] --' => '__',
'218x150px' => 'td_218x150',
'324x400px' => 'td_324x400',
'485x360' => 'td_485x360'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment1',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_height1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "image_radius1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
),
array(
"param_name" => "hide_image",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article video',
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos1",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "video_popup",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Enable video pop-up",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_enable_video_pop-up.png",
),
array(
"param_name" => "video_rec",
"type" => "textarea_raw_html",
"holder" => "div",
"class" => "tdc-textarea-raw-small",
"heading" => 'Video pop-up ad',
"value" => "",
"description" => 'Paste your ad code here.',
'group' => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_video_popup_ad.png",
),
array(
"param_name" => "spot_header",
"type" => "spot_header",
"value" => "",
"class" => '',
'group' => 'Layout',
),
array(
"param_name" => "video_rec_title",
"type" => "textfield",
"value" => '',
"heading" => 'Ad title',
"description" => "",
"placeholder" => "- Advertisement -",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-spot-controller tdc-spot-title",
'group' => 'Layout',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-spot-controller tdc-spot-color",
"heading" => 'Ad title color',
"param_name" => "video_rec_color",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_rec_disable",
"type" => "checkbox",
"value" => '',
"heading" => "Hide ADS for admins/editors",
"description" => "Used to prevent fake clicks and views on ads by admins and editors",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "autoplay_vid",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Autoplay video",
"description" => "When it is inactive, the sound will be ON",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "show_vid_t",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show video duration',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
),
array(
"param_name" => "vid_t_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
),
array(
"param_name" => "vid_t_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Video pop-up article title color',
"param_name" => "video_title_color",
"value" => '',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_title_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Video pop-up article title hover color',
"param_name" => "video_title_color_h",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_bg",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up background color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_background.png",
),
array(
"param_name" => "video_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up overlay color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_overlay_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "vid_t_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration text color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_text_color.png",
),
array(
"param_name" => "vid_t_bg_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration background color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_bg_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
),
td_config_helper::get_map_block_font_array( 'f_vid_title', true, 'Video pop-up article title', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_duration_title.png', '' ),
self::get_map_exclusive_label_array('1', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article meta info',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "meta_info_align1",
"type" => "dropdown-responsive",
"value" => array(
'Bottom' => '',
'Top' => 'initial',
'Over image' => 'image',
),
"heading" => 'Meta info alignment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_vertical_align.png",
),
array(
"param_name" => "meta_info_horiz1",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "13px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "meta_info_border_radius1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "",
),
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 6px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Over image' => 'image',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "modules_category_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "modules_cat_border1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
),
array(
'param_name' => 'modules_category_radius1',
'type' => 'range-responsive',
'value' => '0',
'heading' => 'Category tag border radius',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
),
array(
"param_name" => "show_cat1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category tag',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat1",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide'
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "author_photo",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo.png",
),
array(
"param_name" => "author_photo_size1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
),
array(
"param_name" => "author_photo_space1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "6",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
),
array(
"param_name" => "author_photo_radius1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "show_com1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show comment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size1',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_excerpt1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show excerpt',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
),
array(
"param_name" => "art_excerpt1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article excerpt space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "16px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
),
array(
"param_name" => "excerpt_middle",
"type" => "checkbox",
"value" => '',
"heading" => "Excerpt in middle",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_excerpt_in_middle.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article audio player',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_audio1",
"type" => "dropdown-responsive",
"value" => array(
'Visible' => 'block',
'Hidden' => 'none',
),
"heading" => 'Show audio player',
"description" => "This will hide the audio player responsive",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "hide_audio",
"type" => "checkbox",
"value" => '',
"heading" => "Remove audio player",
"description" => "This will remove the audio player from code",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_audio1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Audio player space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_space.png",
),
array(
'param_name' => 'art_audio_size1',
'type' => 'range-responsive',
'value' => '1.5',
'heading' => 'Audio player size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_size.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module 2',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "m_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_padding.png",
),
array(
"param_name" => "modules_space2",
"type" => "textfield-responsive",
"value" => '26',
"heading" => 'Modules bottom space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "26",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "modules_border_size2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
),
array(
"param_name" => "modules_border_style2",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color2",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "modules_divider2",
"type" => "dropdown-responsive",
"value" => array(
'None' => '',
'Solid' => 'solid',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Modules divider',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Modules divider color',
"param_name" => "modules_divider_color2",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "image_size3",
"type" => "dropdown",
"value" => array(
'Default - 218x150px' => '',
'-- [No crop] --' => '__',
'XSmall - 150x0px' => 'td_150x0',
'Small - 300x0px' => 'td_300x0',
'Medium - 696x0px' => 'td_696x0',
'Large - 1068x0px' => 'td_1068x0',
'Full - 1920x0px' => 'td_1920x0',
'-- [Other sizes] --' => '__',
'324x400px' => 'td_324x400',
'485x360' => 'td_485x360'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment2',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (0-100 percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "30",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "70",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "image_floated2",
"type" => "dropdown-responsive",
"value" => array(
'Float left' => 'float_left',
'Float right' => 'float_right',
'Hidden' => 'hidden',
),
"heading" => 'Image position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "image_radius2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
),
array(
"param_name" => "hide_image3",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article video',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_popup3",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Enable video pop-up",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_enable_video_pop-up.png",
),
array(
"param_name" => "video_rec3",
"type" => "textarea_raw_html",
"holder" => "div",
"class" => "tdc-textarea-raw-small",
"heading" => 'Video pop-up ad',
"value" => "",
"description" => 'Paste your ad code here.',
'group' => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_video_popup_ad.png",
),
array(
"param_name" => "spot_header",
"type" => "spot_header",
"value" => "",
"class" => '',
'group' => 'Layout',
),
array(
"param_name" => "video_rec_title3",
"type" => "textfield",
"value" => '',
"heading" => 'Ad title',
"description" => "",
"placeholder" => "- Advertisement -",
"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_color3",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_rec_disable",
"type" => "checkbox",
"value" => '',
"heading" => "Hide ADS for admins/editors",
"description" => "Used to prevent fake clicks and views on ads by admins and editors",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "autoplay_vid3",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Autoplay video",
"description" => "When it is inactive, the sound will be ON",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "show_vid_t3",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show video duration',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
),
array(
"param_name" => "vid_t_margin3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
),
array(
"param_name" => "vid_t_padding3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
),
),
self::get_map_exclusive_label_array('2', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article meta info',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "meta_info_horiz2",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "13px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "meta_info_border_radius2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "",
),
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 6px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category3",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Over image' => 'image',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "modules_category_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "modules_cat_border2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
),
array(
'param_name' => 'modules_category_radius2',
'type' => 'range-responsive',
'value' => '0',
'heading' => 'Category tag border radius',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
),
array(
"param_name" => "show_cat2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category tag',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat2",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide'
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "author_photo3",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "author_photo_size2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
),
array(
"param_name" => "author_photo_space2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "6",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
),
array(
"param_name" => "author_photo_radius2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "show_com2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show comment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size2',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_excerpt2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show excerpt',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
),
array(
"param_name" => "art_excerpt2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article excerpt space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "16px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
),
array(
"param_name" => "excerpt_middle3",
"type" => "checkbox",
"value" => '',
"heading" => "Excerpt in middle",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_excerpt_in_middle.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article audio player',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_audio2",
"type" => "dropdown-responsive",
"value" => array(
'Visible' => 'block',
'Hidden' => 'none',
),
"heading" => 'Show audio player',
"description" => "This will hide the audio player responsive",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "hide_audio3",
"type" => "checkbox",
"value" => '',
"heading" => "Remove audio player",
"description" => "This will remove the audio player from code",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_audio2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Audio player space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_space.png",
),
array(
'param_name' => 'art_audio_size2',
'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" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_size.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Pagination',
"value" => "",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "pag_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Top space',
"description" => "",
"placeholder" => "20",
"holder" => "div",
"class" => "tdc-textfield-small",
'group' => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_space.png",
),
array(
"param_name" => "pag_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_padding.png",
),
array(
"param_name" => "pag_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "1",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_border.png",
),
array(
"param_name" => "pag_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_border_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
'param_name' => 'prev_tdicon',
'type' => 'icon',
'heading' => 'Prev icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
),
array(
'param_name' => 'next_tdicon',
'type' => 'icon',
'heading' => 'Next icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
),
array(
"param_name" => "pag_icons_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Icons size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow_size.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Block fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_ajax', false, 'Ajax categories', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_ajax.png', '' ),
td_config_helper::get_map_block_font_array( 'f_more', false, 'Load more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_load_more.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_title1', true, 'Article title 1', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Article category tag 1', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Article meta info 1', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_ex1', false, 'Article excerpt 1', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Article title 2', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Article category tag 2', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Article meta info 2', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_ex2', false, 'Article excerpt 2', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
),
td_config_helper::get_map_block_shadow_array('shadow', 'Module Shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module 1 colors',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"param_name" => "color_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Module image overlay",
"value" => "",
"class" => "",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_image_overlay.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "all_underline_height1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Underline size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Hover underline color',
"param_name" => "all_underline_color1",
"value" => '#000',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
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_border1",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category border hover',
"param_name" => "cat_border_hover1",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment background',
"param_name" => "com_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "rev_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_review_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Audio player buttons color',
"param_name" => "audio_btn_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_buttons.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Audio player time text color',
"param_name" => "audio_time_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_time.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Audio player bars background color',
"param_name" => "audio_bar_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_bar.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Audio player bars progress color',
"param_name" => "audio_bar_curr_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_progress.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module 2 colors',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg2",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "separator",
"type" => "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_txt2",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover2",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "all_underline_height2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Underline size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Hover underline color',
"param_name" => "all_underline_color2",
"value" => '#000',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg2",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover2",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt2",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover2",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category border color',
"param_name" => "cat_border2",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category border hover',
"param_name" => "cat_border_hover2",
"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_txt2",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover2",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt2",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt2",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment background',
"param_name" => "com_bg2",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt2",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "rev_txt2",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_review_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Audio player buttons color',
"param_name" => "audio_btn_color2",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_buttons.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Audio player time text color',
"param_name" => "audio_time_color2",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_time.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Audio player bars background color',
"param_name" => "audio_bar_color2",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_bar.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Audio player bars progress color',
"param_name" => "audio_bar_curr_color2",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_progress.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Pagination',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Text color',
"param_name" => "pag_text",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Text hover color',
"param_name" => "pag_h_text",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Background color',
"param_name" => "pag_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Background hover color',
"param_name" => "pag_h_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Border color',
"param_name" => "pag_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Border hover color',
"param_name" => "pag_h_border",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "btn_title",
"type" => "textfield",
"value" => '',
"heading" => 'Button text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big tdc-hidden",
"placeholder" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_text.png",
),
),
self::get_map_block_pagination_array()
)
)
);
td_api_block::add( 'td_flex_block_5',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Flex Block 5',
"base" => 'td_flex_block_5',
"class" => 'td_flex_block_5',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Blocks',
'icon' => 'icon-pagebuilder-td_flex_block_5',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_flex_block_5.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'td_ajax_filter_ids',
'td_filter_default_txt',
'td_ajax_preloading',
'ajax_pagination_infinite_stop',
'offset',
'modules_on_row',
'modules_gap',
'limit',
'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', // 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_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(
self::get_map_block_general_array(),
array(
array(
"param_name" => "title_tag",
"type" => "dropdown",
"value" => array(
'Default - H4' => '',
'H1' => 'h1',
'H2' => 'h2',
'H3' => 'h3',
'Div' => 'div'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Content length',
"value" => "",
"class" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 5',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mc5_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mc5_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "mc5_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
),
),
self::get_map_filter_array('Filter', true),
// block cache
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Cache',
"value" => "",
"class" => "",
),
array(
"param_name" => "td_query_cache",
"type" => "checkbox",
"value" => '',
"heading" => "Cache block results",
"description" => "If enabled the block output will be cached",
"holder" => "div",
"class" => "",
"toggle_enable_params" => 'td_query_cache',
),
array(
"param_name" => "td_query_cache_expiration",
"type" => "dropdown-responsive",
"value" => array(
'1 minute' => '',
'5 minutes' => 5 * MINUTE_IN_SECONDS,
'10 minutes' => 10 * MINUTE_IN_SECONDS,
'30 minutes' => 30 * MINUTE_IN_SECONDS,
'1 hour' => 60 * MINUTE_IN_SECONDS,
'1 day' => 24 * HOUR_IN_SECONDS,
'1 week' => 7 * DAY_IN_SECONDS,
),
"heading" => 'Cache expiration',
"description" => "The block cache expiration time in seconds. Note that cache will be cleard when block's settings change.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"toggle_enabled_by" => 'td_query_cache',
),
),
self::get_map_block_ajax_filter_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Layout',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "modules_on_row",
"type" => "dropdown-responsive",
"value" => array(
'1' => '100%',
'2' => '50%',
'3' => '33.33333333%',
'4' => '25%',
'5' => '20%',
'6' => '16.66666667%',
'7' => '14.28571428%',
'8' => '12.5%',
'9' => '11.11111111%',
'10' => '10%',
),
"heading" => 'Modules per row',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-small",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_per_row.png",
),
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "m_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_padding.png",
),
array(
"param_name" => "all_modules_space",
"type" => "textfield-responsive",
"value" => '36',
"heading" => 'Modules bottom space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "36",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "modules_border_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
),
array(
"param_name" => "modules_border_style",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "modules_divider",
"type" => "dropdown",
"value" => array(
'None' => '',
'Solid' => 'solid',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Modules divider',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
),
array(
"param_name" => "divider_on",
"type" => "checkbox",
"value" => '',
"heading" => "Show all dividers",
"description" => "Display dividers on modules from the last row",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_all_dividers.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Modules divider color',
"param_name" => "modules_divider_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "h_effect",
"type" => "dropdown",
"value" => array(
'None' => '',
'Shadow' => 'shadow',
'Move up & shadow' => 'up-shadow',
),
"heading" => 'Hover effect',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_hover_effect.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'Medium - Default - 696x0px' => '',
'-- [No crop] --' => '__',
'XSmall - 150x0px' => 'td_150x0',
'Small - 300x0px' => 'td_300x0',
'Large - 1068x0px' => 'td_1068x0',
'Full - 1920x0px' => 'td_1920x0',
'-- [Other sizes] --' => '__',
'218x150px' => 'td_218x150',
'324x400px' => 'td_324x400',
'485x360' => 'td_485x360'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "image_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
),
array(
"param_name" => "image_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_margin.png",
),
array(
"param_name" => "hide_image",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article video',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "video_icon",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "video_popup",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Enable video pop-up",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_enable_video_pop-up.png",
),
array(
"param_name" => "video_rec",
"type" => "textarea_raw_html",
"holder" => "div",
"class" => "tdc-textarea-raw-small",
"heading" => 'Video pop-up ad',
"value" => "",
"description" => 'Paste your ad code here.',
'group' => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_video_popup_ad.png",
),
array(
"param_name" => "spot_header",
"type" => "spot_header",
"value" => "",
"class" => '',
'group' => 'Layout',
),
array(
"param_name" => "video_rec_title",
"type" => "textfield",
"value" => '',
"heading" => 'Ad title',
"description" => "",
"placeholder" => "- Advertisement -",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-spot-controller tdc-spot-title",
'group' => 'Layout',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-spot-controller tdc-spot-color",
"heading" => 'Ad title color',
"param_name" => "video_rec_color",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_rec_disable",
"type" => "checkbox",
"value" => '',
"heading" => "Hide ADS for admins/editors",
"description" => "Used to prevent fake clicks and views on ads by admins and editors",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "autoplay_vid",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Autoplay video",
"description" => "When it is inactive, the sound will be ON",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "show_vid_t",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show video duration',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
),
array(
"param_name" => "vid_t_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
),
array(
"param_name" => "vid_t_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Video pop-up article title color',
"param_name" => "video_title_color",
"value" => '',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_title_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Video pop-up article title hover color',
"param_name" => "video_title_color_h",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_bg",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up background color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_background.png",
),
array(
"param_name" => "video_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up overlay color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_overlay_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "vid_t_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration text color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_text_color.png",
),
array(
"param_name" => "vid_t_bg_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration background color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_bg_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
),
td_config_helper::get_map_block_font_array( 'f_vid_title', true, 'Video pop-up article title', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_duration_title.png', '' ),
self::get_map_exclusive_label_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article meta info',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Top info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_margin.png",
),
array(
"param_name" => "meta_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Bottom info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "13px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_bottom_margin.png",
),
array(
"param_name" => "meta_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Top info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Bottom info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "13px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_bottom_padding.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Meta info border',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "meta_info_border_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Top info border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_border.png",
),
array(
"param_name" => "meta_info_border_size2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Bottom info border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_bottom_border.png",
),
array(
"param_name" => "meta_info_border_style",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_border_style.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "meta_info_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_border_color.png",
),
array(
"param_name" => "meta_info_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Top info border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "meta_info_border_radius2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Bottom info border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article title',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "art_title_pos",
"type" => "dropdown",
"value" => array(
'Above image' => 'top',
'Under image' => 'bottom',
),
"heading" => 'Article title position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_title_position.png",
),
array(
"param_name" => "info_pos",
"type" => "dropdown",
"value" => array(
'Above image' => 'top',
'Under image' => 'bottom',
'Above title' => 'title',
),
"heading" => 'Info position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_info_position.png",
),
array(
"param_name" => "info_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Info space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_info_space.png",
),
array(
"param_name" => "art_title",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 6px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article excerpt',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_excerpt",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show excerpt',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
),
array(
"param_name" => "art_excerpt_pos",
"type" => "dropdown",
"value" => array(
'Above image' => 'top',
'Under image' => 'bottom',
),
"heading" => 'Article excerpt position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_excerpt_position.png",
),
array(
"param_name" => "art_excerpt",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article excerpt space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
),
array(
"param_name" => "excerpt_inline",
"type" => "checkbox",
"value" => '',
"heading" => "Inline Excerpt & Title",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_inline_excerpt_title.png",
),
array(
"param_name" => "meta_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta container space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_container_space.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article audio player',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_audio",
"type" => "dropdown-responsive",
"value" => array(
'Visible' => 'block',
'Hidden' => 'none',
),
"heading" => 'Show audio player',
"description" => "This will hide the audio player responsive",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "hide_audio",
"type" => "checkbox",
"value" => '',
"heading" => "Remove audio player",
"description" => "This will remove the audio player from code",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "art_audio_pos",
"type" => "dropdown",
"value" => array(
'Above image' => 'top',
'Under image' => 'bottom',
),
"heading" => 'Audio player position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_position.png",
),
array(
"param_name" => "art_audio",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Audio player space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_space.png",
),
array(
'param_name' => 'art_audio_size',
'type' => 'range-responsive',
'value' => '1.5',
'heading' => 'Audio player size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_size.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Category tag',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_cat",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Over image' => 'image',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "modules_category_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "modules_category_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag border',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
),
array(
'param_name' => 'modules_category_radius',
'type' => 'range-responsive',
'value' => '0',
'heading' => 'Border radius',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
),
array(
"param_name" => "modules_extra_cat",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide'
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Author',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_author",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "author_photo",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo.png",
),
array(
"param_name" => "author_photo_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
),
array(
"param_name" => "author_photo_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "6",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
),
array(
"param_name" => "author_photo_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Date / Comment',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_date",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "show_com",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show comment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Review stars',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_review",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show review stars',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Button',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_btn",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show button',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_show.png",
),
array(
"param_name" => "btn_pos",
"type" => "dropdown",
"value" => array(
'Above image' => 'top',
'Under image' => 'bottom',
),
"heading" => 'Button position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_position.png",
),
array(
"param_name" => "btn_title",
"type" => "textfield",
"value" => '',
"heading" => 'Button text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "Read more",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_text.png",
),
array(
"param_name" => "btn_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 20px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_space.png",
),
array(
"param_name" => "btn_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "10px 15px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_padding.png",
),
array(
"param_name" => "btn_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_border.png",
),
array(
"param_name" => "btn_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_radius.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Pagination',
"value" => "",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "pag_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Top space',
"description" => "",
"placeholder" => "20",
"holder" => "div",
"class" => "tdc-textfield-small",
'group' => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_space.png",
),
array(
"param_name" => "pag_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_padding.png",
),
array(
"param_name" => "pag_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "1",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_border.png",
),
array(
"param_name" => "pag_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_border_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
'param_name' => 'prev_tdicon',
'type' => 'icon',
'heading' => 'Prev icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
),
array(
'param_name' => 'next_tdicon',
'type' => 'icon',
'heading' => 'Next icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
),
array(
"param_name" => "pag_icons_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Icons size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow_size.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Block fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_ajax', false, 'Ajax categories', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_ajax.png', '' ),
td_config_helper::get_map_block_font_array( 'f_more', false, 'Load more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_load_more.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_title', true, 'Article title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_read.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Module background',
"param_name" => "m_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
),
td_config_helper::get_map_block_shadow_array('shadow', 'Module Shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Top meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bottom meta info background',
"param_name" => "meta_bg2",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article title',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "all_underline_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Underline size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '#000',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Category tag',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category border color',
"param_name" => "cat_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category border hover',
"param_name" => "cat_border_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'AUTHOR / DATE / COMMENT / EXCERPT',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment background',
"param_name" => "com_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "rev_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_review_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
),
td_config_helper::get_map_block_shadow_array('shadow_m', 'Meta info shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_meta_shadow.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Audio player',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Buttons color',
"param_name" => "audio_btn_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_buttons.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Time text color',
"param_name" => "audio_time_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_time.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars background color',
"param_name" => "audio_bar_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_bar.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars progress color',
"param_name" => "audio_bar_curr_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_progress.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Button',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button background',
"param_name" => "btn_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_button_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button background hover',
"param_name" => "btn_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button text color',
"param_name" => "btn_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_button_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button text hover',
"param_name" => "btn_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button border color',
"param_name" => "btn_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_button_border_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button border hover',
"param_name" => "btn_border_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Pagination',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Text color',
"param_name" => "pag_text",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Text hover color',
"param_name" => "pag_h_text",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Background color',
"param_name" => "pag_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Background hover color',
"param_name" => "pag_h_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Border color',
"param_name" => "pag_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Border hover color',
"param_name" => "pag_h_border",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
self::get_map_block_pagination_array()
)
)
);
td_api_block::add( 'td_flex_block_6',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Flex Block X',
"base" => 'td_flex_block_6',
"class" => 'td_flex_block_6',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Blocks',
'icon' => 'icon-pagebuilder-td_flex_block_6',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_flex_block_6.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'td_ajax_filter_ids',
'td_filter_default_txt',
'td_ajax_preloading',
'ajax_pagination_infinite_stop',
'offset',
'modules_on_row',
'modules_gap',
'limit',
'el_class'
),
'tdc_start_values' => base64_encode(
json_encode(
array(
array(
"limit" => '3',
'tds_module_loop_1_style-modules_on_row' => 'eyJhbGwiOiIzMy4zMzMzMzMzMyUiLCJwaG9uZSI6IjEwMCUifQ==',
"tds_module_loop_1_style-modules_gap" => 'eyJsYW5kc2NhcGUiOiI0MCIsInBvcnRyYWl0IjoiMjgifQ==',
'tds_module_loop_1_style-show_excerpt' => 'none',
"tds_module_loop_1_style-hide_audio" => "yes",
"tds_module_loop_2_style-art_title_pos" => "bottom",
"tds_module_loop_2_style-info_pos" => "bottom",
"tds_module_loop_2_style-art_excerpt_pos" => "bottom",
"tds_module_loop_2_style-art_audio_pos" => "bottom",
"tds_module_loop_2_style-modules_category" => "image",
"tds_module_loop_2_style-btn_pos" => "bottom",
"tds_module_loop_2_style-hide_audio" => "yes"
),
)
)
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "title_tag",
"type" => "dropdown",
"value" => array(
'Default - H4' => '',
'H1' => 'h1',
'H2' => 'h2',
'H3' => 'h3',
'Div' => 'div'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => '',
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_ajax', false, 'Ajax categories', '', '', '', 'https://cloud.tagdiv.com/help/module_font_ajax.png', '' ),
self::get_map_filter_array('Filter', true, 'td_flex_block_6'),
// block cache
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Cache',
"value" => "",
"class" => "",
),
array(
"param_name" => "td_query_cache",
"type" => "checkbox",
"value" => '',
"heading" => "Cache block results",
"description" => "If enabled the block output will be cached",
"holder" => "div",
"class" => "",
"toggle_enable_params" => 'td_query_cache',
),
array(
"param_name" => "td_query_cache_expiration",
"type" => "dropdown-responsive",
"value" => array(
'1 minute' => '',
'5 minutes' => 5 * MINUTE_IN_SECONDS,
'10 minutes' => 10 * MINUTE_IN_SECONDS,
'30 minutes' => 30 * MINUTE_IN_SECONDS,
'1 hour' => 60 * MINUTE_IN_SECONDS,
'1 day' => 24 * HOUR_IN_SECONDS,
'1 week' => 7 * DAY_IN_SECONDS,
),
"heading" => 'Cache expiration',
"description" => "The block cache expiration time in seconds. Note that cache will be cleard when block's settings change.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"toggle_enabled_by" => 'td_query_cache',
),
),
self::get_map_block_ajax_filter_array(),
array(
array(
"param_name" => "tds_module_loop_style",
"type" => "dropdown",
"value" => td_api_style::get_styles_for_mapping( 'tds_module_loop_style', false ),
"heading" => 'Module style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Module",
),
),
self::get_map_block_pagination_array('td_flex_block_6')
)
)
);
/**
* the big grids
*/
td_api_block::add('td_block_big_grid_flex_1',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Big Grid Flex 1',
"base" => 'td_block_big_grid_flex_1',
"class" => 'td_block_big_grid_flex_1',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Big Grids',
'icon' => 'icon-pagebuilder-td_block_big_grid_flex_1',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_big_grid_flex_1.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'offset',
'grid_layout',
'image_height',
'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",
"modules_extra_cat" => "above",
"overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
"cat_bg_hover" => "#4db2ec",
"review_stars" => "#fff",
"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' => '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' => '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 Flex 6',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf6_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf6_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
),
self::td_block_big_grid_params(),
array(
array(
"param_name" => "grid_layout",
"type" => "dropdown",
"value" => array(
'1 column' => '1',
'2 columns' => '2',
'3 columns' => '3',
'4 columns' => '4',
'5 columns' => '5',
),
"heading" => 'Grid layout',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-cat-grid-layout tdc-add-class",
"group" => "Layout",
),
array(
"param_name" => "container_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Container width (0-100 percent)',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_container.png",
),
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '4',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "image_zoom",
"type" => "checkbox",
"value" => '',
"heading" => "Zoom effect on hover",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article meta info',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_info_vert",
"type" => "dropdown",
"value" => array(
'Left' => 'content-vert-top',
'Center' => 'content-vert-center',
'Right' => 'content-vert-bottom'
),
"heading" => 'Meta info vert align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
),
array(
"param_name" => "meta_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "22px 20px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "modules_category_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 5px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "modules_cat_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
),
array(
'param_name' => 'modules_category_radius',
'type' => 'range-responsive',
'value' => '0',
'heading' => 'Border radius',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
),
array(
"param_name" => "show_cat",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_review",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show review stars',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
self::get_map_exclusive_label_array(),
td_config_helper::get_map_block_font_array( 'f_title', true, 'Article title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay color",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_h_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay hover color",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_1",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 1",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_2",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 2",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_3",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 3",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_4",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 4",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "lightsky",
"type" => "checkbox",
"value" => '',
"heading" => "Lightsky",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "meta_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Meta info shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Article title background color',
"param_name" => "title_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "all_underline_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Underline size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '#000',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
),
array(
"param_name" => "title_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Article title shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category border color',
"param_name" => "cat_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category border hover',
"param_name" => "cat_border_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Author & date background color',
"param_name" => "auth_date_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "review_stars",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
self::get_map_css_tab()
)
)
);
td_api_block::add('td_block_big_grid_flex_2',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Big Grid Flex 2',
"base" => 'td_block_big_grid_flex_2',
"class" => 'td_block_big_grid_flex_2',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Big Grids',
'icon' => 'icon-pagebuilder-td_block_big_grid_flex_2',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_big_grid_flex_2.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'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",
"modules_extra_cat1" => "above",
"modules_extra_cat2" => "above",
"overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
"image_height2" => "eyJsYW5kc2NhcGUiOiIxNzNweCIsInBob25lIjoiMTY1cHgiLCJwb3J0cmFpdCI6IjEzM3B4In0=",
"image_height1" => "eyJwaG9uZSI6IjI2MHB4IiwibGFuZHNjYXBlIjoiMzUwcHgiLCJwb3J0cmFpdCI6IjI3MHB4In0=",
"modules_gap" => "eyJwaG9uZSI6IjMifQ==",
"meta_padding2" => "eyJsYW5kc2NhcGUiOiIxNnB4IDE1cHggMTFweCIsInBvcnRyYWl0IjoiMTZweCAxNXB4IDExcHgiLCJwaG9uZSI6IjE2cHggMTVweCAxMXB4In0=",
"meta_padding1" => "eyJwaG9uZSI6IjE1cHggMThweCJ9",
"cat_bg_hover" => "#4db2ec",
"review_stars" => "#fff",
"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 Flex 6',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf6_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf6_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 7',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf7_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf7_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
),
self::td_block_big_grid_params(),
array(
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "4",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_info_vert",
"type" => "dropdown",
"value" => array(
'Left' => 'content-vert-top',
'Center' => 'content-vert-center',
'Right' => 'content-vert-bottom'
),
"heading" => 'Meta info vert align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
),
array(
"param_name" => "image_zoom",
"type" => "checkbox",
"value" => '',
"heading" => "Zoom effect on hover",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 1',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment1',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "70",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "400px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos1",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "22px 20px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 5px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat1",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size1',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
),
self::get_map_exclusive_label_array('1', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 2',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size2",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment2',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "30",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "198px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos2",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "11px 17px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 7px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat2",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size2',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
self::get_map_exclusive_label_array('2', true),
td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay color",
"value" => "",
"class" => "td-colorpicker-double-a",
"group" => "Style",
),
array(
"param_name" => "overlay_h_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay hover color",
"value" => "",
"class" => "td-colorpicker-double-b",
"group" => "Style",
),
array(
"param_name" => "overlay_1",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 1",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_2",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 2",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_3",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 3",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_4",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 4",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_5",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 5",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "lightsky",
"type" => "checkbox",
"value" => '',
"heading" => "Lightsky",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "meta_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Meta info shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Article title background color',
"param_name" => "title_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "all_underline_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Underline size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '#000',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
),
array(
"param_name" => "title_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Article title shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Author & date background color',
"param_name" => "auth_date_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "review_stars",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
self::get_map_css_tab()
)
)
);
td_api_block::add('td_block_big_grid_flex_3',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Big Grid Flex 3',
"base" => 'td_block_big_grid_flex_3',
"class" => 'td_block_big_grid_flex_3',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Big Grids',
'icon' => 'icon-pagebuilder-td_block_big_grid_flex_3',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_big_grid_flex_3.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'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",
"modules_extra_cat1" => "above",
"modules_extra_cat2" => "above",
"overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
"image_height2" => "eyJwaG9uZSI6IjE2NXB4IiwibGFuZHNjYXBlIjoiMTQ1cHgiLCJwb3J0cmFpdCI6IjEwOXB4In0=",
"image_height1" => "eyJwaG9uZSI6IjI2MHB4IiwibGFuZHNjYXBlIjoiNDQzcHgiLCJwb3J0cmFpdCI6IjMzNXB4In0=",
"modules_gap" => "eyJwaG9uZSI6IjMifQ==",
"meta_padding2" => "eyJsYW5kc2NhcGUiOiIxNnB4IDE1cHggMTFweCIsInBvcnRyYWl0IjoiMTZweCAxNXB4IDExcHgiLCJwaG9uZSI6IjE2cHggMTVweCAxMXB4In0=",
"meta_padding1" => "eyJwaG9uZSI6IjE1cHggMThweCJ9",
"cat_bg_hover" => "#4db2ec",
"review_stars" => "#fff",
"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 Flex 6',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf6_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf6_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 7',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf7_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf7_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
),
self::td_block_big_grid_params(),
array(
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "4",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_info_vert",
"type" => "dropdown",
"value" => array(
'Left' => 'content-vert-top',
'Center' => 'content-vert-center',
'Right' => 'content-vert-bottom'
),
"heading" => 'Meta info vert align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
),
array(
"param_name" => "image_zoom",
"type" => "checkbox",
"value" => '',
"heading" => "Zoom effect on hover",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 1',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment1',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "70",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "482px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos1",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "22px 20px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 5px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat1",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size1',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
),
self::get_map_exclusive_label_array('1', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 2',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size2",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment2',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "30",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "158px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos2",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "11px 15px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 7px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat2",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size2',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
self::get_map_exclusive_label_array('2', true),
td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay color",
"value" => "",
"class" => "td-colorpicker-double-a",
"group" => "Style",
),
array(
"param_name" => "overlay_h_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay hover color",
"value" => "",
"class" => "td-colorpicker-double-b",
"group" => "Style",
),
array(
"param_name" => "overlay_1",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 1",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_2",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 2",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_3",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 3",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_4",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 4",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "lightsky",
"type" => "checkbox",
"value" => '',
"heading" => "Lightsky",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "meta_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Meta info shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Article title background color',
"param_name" => "title_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "title_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Article title shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Author & date background color',
"param_name" => "auth_date_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "review_stars",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
self::get_map_css_tab()
)
)
);
td_api_block::add('td_block_big_grid_flex_4',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Big Grid Flex 4',
"base" => 'td_block_big_grid_flex_4',
"class" => 'td_block_big_grid_flex_4',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Big Grids',
'icon' => 'icon-pagebuilder-td_block_big_grid_flex_4',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_big_grid_flex_4.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'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",
"modules_extra_cat1" => "above",
"modules_extra_cat2" => "above",
"overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
"image_height2" => "eyJwaG9uZSI6IjE0MHB4IiwicG9ydHJhaXQiOiIxNTBweCIsImxhbmRzY2FwZSI6IjIwMHB4In0=",
"image_height1" => "eyJwaG9uZSI6IjI2MHB4IiwibGFuZHNjYXBlIjoiNDEwcHgiLCJwb3J0cmFpdCI6IjMxMHB4In0=",
"modules_gap" => "eyJwaG9uZSI6IjMifQ==",
"meta_padding2" => "eyJwaG9uZSI6IjE2cHggMTVweCAxMXB4IiwicG9ydHJhaXQiOiIxMXB4IDEwcHggNnB4In0=",
"meta_padding1" => "eyJwaG9uZSI6IjE1cHggMThweCIsInBvcnRyYWl0IjoiMjJweCAxMHB4In0=",
"cat_bg_hover" => "#4db2ec",
"review_stars" => "#fff",
"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 Flex 6',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf6_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf6_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 7',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf7_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf7_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
),
self::td_block_big_grid_params(),
array(
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "10",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_info_vert",
"type" => "dropdown",
"value" => array(
'Left' => 'content-vert-top',
'Center' => 'content-vert-center',
'Right' => 'content-vert-bottom'
),
"heading" => 'Meta info vert align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
),
array(
"param_name" => "image_zoom",
"type" => "checkbox",
"value" => '',
"heading" => "Zoom effect on hover",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 1',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment1',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "450px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos1",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "22px 20px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 10px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat1",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size1',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
),
self::get_map_exclusive_label_array('1', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 2',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size2",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment2',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "220px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos2",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "16px 19px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 10px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat2",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size2',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
self::get_map_exclusive_label_array('2', true),
td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay color",
"value" => "",
"class" => "td-colorpicker-double-a",
"group" => "Style",
),
array(
"param_name" => "overlay_h_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay hover color",
"value" => "",
"class" => "td-colorpicker-double-b",
"group" => "Style",
),
array(
"param_name" => "overlay_1",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 1",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_2",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 2",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_3",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 3",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "lightsky",
"type" => "checkbox",
"value" => '',
"heading" => "Lightsky",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "meta_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Meta info shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Article title background color',
"param_name" => "title_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "title_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Article title shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Author & date background color',
"param_name" => "auth_date_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "review_stars",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
self::get_map_css_tab()
)
)
);
td_api_block::add('td_block_big_grid_flex_5',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Big Grid Flex 5',
"base" => 'td_block_big_grid_flex_5',
"class" => 'td_block_big_grid_flex_5',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Big Grids',
'icon' => 'icon-pagebuilder-td_block_big_grid_flex_5',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_big_grid_flex_5.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'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",
"modules_extra_cat1" => "above",
"modules_extra_cat2" => "above",
"modules_extra_cat3" => "above",
"overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
"image_height2" => "eyJwaG9uZSI6IjE2NXB4IiwicG9ydHJhaXQiOiIxNzZweCIsImxhbmRzY2FwZSI6IjIzNHB4In0=",
"modules_gap" => "eyJwaG9uZSI6IjMifQ==",
"meta_padding2" => "eyJwaG9uZSI6IjE2cHggMTVweCAxMXB4IiwicG9ydHJhaXQiOiIxOXB4IDE4cHggMTRweCJ9",
"meta_padding1" => "eyJwaG9uZSI6IjE1cHggMThweCIsInBvcnRyYWl0IjoiMjJweCAyMHB4In0=",
"cat_bg_hover" => "#4db2ec",
"review_stars" => "#fff",
"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 Flex 6',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf6_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf6_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 7',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf7_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf7_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 8',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf8_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf8_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
),
self::td_block_big_grid_params(),
array(
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "4",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_info_vert",
"type" => "dropdown",
"value" => array(
'Left' => 'content-vert-top',
'Center' => 'content-vert-center',
'Right' => 'content-vert-bottom'
),
"heading" => 'Meta info vert align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
),
array(
"param_name" => "image_zoom",
"type" => "checkbox",
"value" => '',
"heading" => "Zoom effect on hover",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 1',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment1',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "450px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos1",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "22px 20px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 5px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat1",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size1',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
),
self::get_map_exclusive_label_array('1', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 2',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size2",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment2',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "254px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos2",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "14px 19px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 5px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat2",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size2',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
),
self::get_map_exclusive_label_array('2', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 3',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size3",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment3',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "192px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "30",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos3",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "11px 15px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 7px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat3",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat3",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author3",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date3",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size3',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
self::get_map_exclusive_label_array('3', true),
td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title3', false, 'Module 3 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat3', false, 'Module 3 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta3', false, 'Module 3 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay color",
"value" => "",
"class" => "td-colorpicker-double-a",
"group" => "Style",
),
array(
"param_name" => "overlay_h_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay hover color",
"value" => "",
"class" => "td-colorpicker-double-b",
"group" => "Style",
),
array(
"param_name" => "overlay_1",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 1",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_2",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 2",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_3",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 3",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_4",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 4",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "lightsky",
"type" => "checkbox",
"value" => '',
"heading" => "Lightsky",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "meta_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Meta info shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Article title background color',
"param_name" => "title_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "title_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Article title shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Author & date background color',
"param_name" => "auth_date_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "review_stars",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
self::get_map_css_tab()
)
)
);
td_api_block::add('td_block_big_grid_flex_6',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Big Grid Flex 6',
"base" => 'td_block_big_grid_flex_6',
"class" => 'td_block_big_grid_flex_6',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Big Grids',
'icon' => 'icon-pagebuilder-td_block_big_grid_flex_6',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_big_grid_flex_6.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'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",
"modules_extra_cat1" => "above",
"modules_extra_cat2" => "above",
"modules_extra_cat3" => "above",
"overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
"image_height2" => "eyJwaG9uZSI6IjE2NXB4IiwibGFuZHNjYXBlIjoiMzYwcHgiLCJwb3J0cmFpdCI6IjI3NnB4In0=",
"image_height1" => "eyJwaG9uZSI6IjIwMHB4IiwicG9ydHJhaXQiOiIxMzZweCIsImxhbmRzY2FwZSI6IjE3NXB4In0=",
"meta_padding2" => "eyJwaG9uZSI6IjE2cHggMTVweCAxMXB4IiwicG9ydHJhaXQiOiIyMHB4IDE1cHgifQ==",
"meta_padding1" => "eyJwaG9uZSI6IjE1cHggMThweCJ9",
"cat_bg_hover" => "#4db2ec",
"review_stars" => "#fff",
"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 Flex 6',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf6_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf6_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 7',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf7_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf7_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
),
self::td_block_big_grid_params(),
array(
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "10",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_info_vert",
"type" => "dropdown",
"value" => array(
'Left' => 'content-vert-top',
'Center' => 'content-vert-center',
'Right' => 'content-vert-bottom'
),
"heading" => 'Meta info vert align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
),
array(
"param_name" => "image_zoom",
"type" => "checkbox",
"value" => '',
"heading" => "Zoom effect on hover",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 1',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment1',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "195px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos1",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "13px 10px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 5px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat1",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size1',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
),
self::get_map_exclusive_label_array('1', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 1 - Mobile',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_width3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "80",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "165px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos3",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "16px 15px 11px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 7px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat3",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat3",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author3",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date3",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size3',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 2',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size2",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment2',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "400px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos2",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 10px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat2",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size2',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
self::get_map_exclusive_label_array('2', true),
td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title3', false, 'Module 1 title - mobile', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat3', false, 'Module 1 category tag - mobile', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta3', false, 'Module 1 meta info - mobile', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay color",
"value" => "",
"class" => "td-colorpicker-double-a",
"group" => "Style",
),
array(
"param_name" => "overlay_h_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay hover color",
"value" => "",
"class" => "td-colorpicker-double-b",
"group" => "Style",
),
array(
"param_name" => "overlay_1",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 1",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_2",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 2",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_3",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 3",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_4",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 4",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_5",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 5",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "lightsky",
"type" => "checkbox",
"value" => '',
"heading" => "Lightsky",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "meta_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Meta info shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Article title background color',
"param_name" => "title_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "title_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Article title shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Author & date background color',
"param_name" => "auth_date_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "review_stars",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
self::get_map_css_tab()
)
)
);
td_api_block::add('td_block_big_grid_flex_7',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Big Grid Flex 7',
"base" => 'td_block_big_grid_flex_7',
"class" => 'td_block_big_grid_flex_7',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Big Grids',
'icon' => 'icon-pagebuilder-td_block_big_grid_flex_7',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_big_grid_flex_7.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'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",
"modules_extra_cat1" => "above",
"modules_extra_cat2" => "above",
"overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
"image_height2" => "eyJwaG9uZSI6IjIwMHB4IiwibGFuZHNjYXBlIjoiMzUwcHgiLCJwb3J0cmFpdCI6IjI3MHB4In0=",
"image_height1" => "eyJwaG9uZSI6IjIwMHB4IiwibGFuZHNjYXBlIjoiMzUwcHgiLCJwb3J0cmFpdCI6IjI3MHB4In0=",
"meta_padding2" => "eyJwaG9uZSI6IjE1cHggMTVweCAxMHB4IiwicG9ydHJhaXQiOiIyMHB4IDEwcHggMTZweCJ9",
"meta_padding1" => "eyJwaG9uZSI6IjE1cHggMTVweCAxMHB4IiwicG9ydHJhaXQiOiIyMnB4IDEwcHgifQ==",
"cat_bg_hover" => "#4db2ec",
"review_stars" => "#fff",
"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' => '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 Flex 6',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf6_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf6_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 7',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf7_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf7_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
),
self::td_block_big_grid_params(),
array(
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "2",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_info_vert",
"type" => "dropdown",
"value" => array(
'Left' => 'content-vert-top',
'Center' => 'content-vert-center',
'Right' => 'content-vert-bottom'
),
"heading" => 'Meta info vert align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
),
array(
"param_name" => "image_zoom",
"type" => "checkbox",
"value" => '',
"heading" => "Zoom effect on hover",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 1',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment1',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "400px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos1",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 10px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat1",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size1',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
),
self::get_map_exclusive_label_array('1', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 2',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size2",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment2',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "400px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos2",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 10px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat2",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size2',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
self::get_map_exclusive_label_array('2', true),
td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay color",
"value" => "",
"class" => "td-colorpicker-double-a",
"group" => "Style",
),
array(
"param_name" => "overlay_h_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay hover color",
"value" => "",
"class" => "td-colorpicker-double-b",
"group" => "Style",
),
array(
"param_name" => "overlay_1",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 1",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_2",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 2",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_3",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 3",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "lightsky",
"type" => "checkbox",
"value" => '',
"heading" => "Lightsky",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "meta_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Meta info shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Article title background color',
"param_name" => "title_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "title_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Article title shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Author & date background color',
"param_name" => "auth_date_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "review_stars",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
self::get_map_css_tab()
)
)
);
td_api_block::add('td_block_big_grid_flex_8',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Big Grid Flex 8',
"base" => 'td_block_big_grid_flex_8',
"class" => 'td_block_big_grid_flex_8',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Big Grids',
'icon' => 'icon-pagebuilder-td_block_big_grid_flex_8',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_big_grid_flex_8.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'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",
"modules_extra_cat1" => "above",
"modules_extra_cat2" => "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",
"review_stars" => "#fff",
"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 Flex 6',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf6_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf6_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 7',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf7_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf7_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
),
self::td_block_big_grid_params(),
array(
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "2",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_info_vert",
"type" => "dropdown",
"value" => array(
'Left' => 'content-vert-top',
'Center' => 'content-vert-center',
'Right' => 'content-vert-bottom'
),
"heading" => 'Meta info vert align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
),
array(
"param_name" => "image_zoom",
"type" => "checkbox",
"value" => '',
"heading" => "Zoom effect on hover",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 1',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment1',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "30",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "400px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos1",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px 19px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 10px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat1",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size1',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
),
self::get_map_exclusive_label_array('1', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 2',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size2",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment2',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "199px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos2",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "14px 19px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 10px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat2",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size2',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
self::get_map_exclusive_label_array('2', true),
td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay color",
"value" => "",
"class" => "td-colorpicker-double-a",
"group" => "Style",
),
array(
"param_name" => "overlay_h_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay hover color",
"value" => "",
"class" => "td-colorpicker-double-b",
"group" => "Style",
),
array(
"param_name" => "overlay_1",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 1",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_2",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 2",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_3",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 3",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_4",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 4",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "lightsky",
"type" => "checkbox",
"value" => '',
"heading" => "Lightsky",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "meta_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Meta info shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Article title background color',
"param_name" => "title_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "title_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Article title shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Author & date background color',
"param_name" => "auth_date_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "review_stars",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
self::get_map_css_tab()
)
)
);
td_api_block::add('td_block_big_grid_flex_9',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Big Grid Flex 9',
"base" => 'td_block_big_grid_flex_9',
"class" => 'td_block_big_grid_flex_9',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Big Grids',
'icon' => 'icon-pagebuilder-td_block_big_grid_flex_9',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_big_grid_flex_9.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'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",
"modules_extra_cat1" => "above",
"modules_extra_cat2" => "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",
"review_stars" => "#fff",
"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 Flex 6',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf6_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf6_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 7',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf7_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf7_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
),
self::td_block_big_grid_params(),
array(
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "2",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_info_vert",
"type" => "dropdown",
"value" => array(
'Left' => 'content-vert-top',
'Center' => 'content-vert-center',
'Right' => 'content-vert-bottom'
),
"heading" => 'Meta info vert align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
),
array(
"param_name" => "image_zoom",
"type" => "checkbox",
"value" => '',
"heading" => "Zoom effect on hover",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 1',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment1',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "370px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos1",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 5px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat1",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size1',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
),
self::get_map_exclusive_label_array('1', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 2',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size2",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment2',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "150px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos2",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "10px 14px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 5px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "1px 5px 1px 5px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat2",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size2',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
self::get_map_exclusive_label_array('2', true),
td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay color",
"value" => "",
"class" => "td-colorpicker-double-a",
"group" => "Style",
),
array(
"param_name" => "overlay_h_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay hover color",
"value" => "",
"class" => "td-colorpicker-double-b",
"group" => "Style",
),
array(
"param_name" => "overlay_1",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 1",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_2",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 2",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_3",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 3",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_4",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 4",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_5",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 5",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "lightsky",
"type" => "checkbox",
"value" => '',
"heading" => "Lightsky",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "meta_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Meta info shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Article title background color',
"param_name" => "title_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "title_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Article title shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Author & date background color',
"param_name" => "auth_date_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "review_stars",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
self::get_map_css_tab()
)
)
);
td_api_block::add('td_block_big_grid_flex_10',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Big Grid Flex 10',
"base" => 'td_block_big_grid_flex_10',
"class" => 'td_block_big_grid_flex_10',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Big Grids',
'icon' => 'icon-pagebuilder-td_block_big_grid_flex_10',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_big_grid_flex_10.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'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",
"modules_extra_cat1" => "above",
"modules_extra_cat2" => "above",
"modules_extra_cat3" => "above",
"overlay_general" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=",
"image_width1" => "eyJwaG9uZSI6IjEwMCJ9",
"image_height1" => "eyJwaG9uZSI6IjI2MHB4IiwibGFuZHNjYXBlIjoiMjEwcHgiLCJwb3J0cmFpdCI6IjE1NXB4In0=",
"meta_padding2" => "eyJwaG9uZSI6IjE2cHggMTVweCAxMXB4In0=",
"meta_padding1" => "eyJwaG9uZSI6IjE1cHggMThweCIsInBvcnRyYWl0IjoiMTVweCAxNXB4IDEwcHggIn0=",
"cat_bg_hover" => "#4db2ec",
"review_stars" => "#fff",
"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' => '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 Flex 6',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf6_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf6_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Flex 7',
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "mf7_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mf7_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
),
self::td_block_big_grid_params(),
array(
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "10",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_info_vert",
"type" => "dropdown",
"value" => array(
'Left' => 'content-vert-top',
'Center' => 'content-vert-center',
'Right' => 'content-vert-bottom'
),
"heading" => 'Meta info vert align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
),
array(
"param_name" => "image_zoom",
"type" => "checkbox",
"value" => '',
"heading" => "Zoom effect on hover",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 1',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment1',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "33.33",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "230px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos1",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 9px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 7px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat1",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date1",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size1',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance1",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
),
self::get_map_exclusive_label_array('1', true),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 1 - Mobile',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_width3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "80",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "165px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos3",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "16px 15px 11px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 7px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 3px 6px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat3",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat3",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author3",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date3",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size3',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance3",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module Category Grid 2',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size2",
"type" => "dropdown",
"value" => array(
'XSmall - 324px' => 'td_324x400',
'Small - 696px' => '',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment2',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_height2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "175px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "video_icon2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "video_icon_pos2",
"type" => "dropdown-responsive",
"value" => array(
'Center' => 'center',
'Corner' => 'corner',
),
"heading" => 'Video icon position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "meta_width2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "10px 14px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "art_title_padd2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_category_margin2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 5px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_spacing.png",
),
array(
"param_name" => "modules_category_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "1px 5px 1px 5px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "show_cat2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat2",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date2",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "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" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size2',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Module fonts',
"value" => "",
"class" => "",
"group" => 'Style',
),
),
self::get_map_exclusive_label_array('2', true),
td_config_helper::get_map_block_font_array( 'f_title1', true, 'Module 1 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat1', false, 'Module 1 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta1', false, 'Module 1 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title3', false, 'Module 1 title - mobile', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat3', false, 'Module 1 category tag - mobile', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta3', false, 'Module 1 meta info - mobile', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title2', false, 'Module 2 title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat2', false, 'Module 2 category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
td_config_helper::get_map_block_font_array( 'f_meta2', false, 'Module 2 meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay color",
"value" => "",
"class" => "td-colorpicker-double-a",
"group" => "Style",
),
array(
"param_name" => "overlay_h_general",
"holder" => "div",
"type" => "gradient",
'heading' => "General module overlay hover color",
"value" => "",
"class" => "td-colorpicker-double-b",
"group" => "Style",
),
array(
"param_name" => "overlay_1",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 1",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_2",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 2",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_3",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 3",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_4",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 4",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "overlay_5",
"holder" => "div",
"type" => "gradient",
'heading' => "Module overlay color 5",
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "lightsky",
"type" => "checkbox",
"value" => '',
"heading" => "Lightsky",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"param_name" => "meta_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Meta info shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Article title background color',
"param_name" => "title_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "title_shadow",
"type" => "checkbox",
"value" => '',
"heading" => "Article title shadow off",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Author & date background color',
"param_name" => "auth_date_bg",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "review_stars",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
self::get_map_css_tab()
)
)
);
/**
* misc blocs
*/
td_api_block::add('td_block_mega_menu',
array(
'map_in_visual_composer' => false,
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_mega_menu.php',
// key added to supply 'show_child_cat' differently for each theme
'render_atts' => array(
'show_child_cat' => 30,
)
)
);
td_api_block::add('td_block_trending_now',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'News ticker',
"base" => 'td_block_trending_now',
"class" => 'td_block_trending_now',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td_block_trending_now',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_trending_now.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'sort',
'offset',
'el_class'
),
"params" => array_merge(
array (
array(
"param_name" => "custom_title",
"type" => "textfield",
"value" => "",
"heading" => 'Custom title:',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => 'Trending Now'
),
array(
"param_name" => "title_padding",
"type" => "textfield-responsive",
"value" => "",
"heading" => 'Title padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => '2px 10px 1px'
),
array(
"param_name" => "navigation",
"type" => "dropdown",
"value" => array('Auto' => '', 'Manual' => 'manual'),
"heading" => 'Navigation:',
"description" => "If set on `Auto` will set the `Trending Now` block to auto start rotating posts",
"holder" => "div",
"class" => "tdc-dropdown-big"
),
array(
"param_name" => "timer",
"type" => "textfield",
"value" => 3,
"heading" => 'Timer',
"description" => "Add the time to slide (in seconds)",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '3',
),
array(
"param_name" => "style",
"type" => "dropdown",
"value" => array('Default' => '', 'Style 2' => 'style2'),
"heading" => 'Style:',
"description" => "Style of the `Trending Now` box",
"holder" => "div",
"class" => "tdc-dropdown-big"
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Content length',
"value" => "",
"class" => "",
),
array(
"param_name" => "mt_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mt_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
),
self::td_block_trending_params(),
array(
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color',
"param_name" => "header_text_color",
"value" => '',
"description" => 'Optional - Choose a custom title text color for this block',
'group' => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/title_text_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title background color',
"param_name" => "header_color",
"value" => '',
"description" => 'Optional - Choose a custom title background color for this block',
'group' => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/title_background_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Articles title color',
"param_name" => "articles_color",
"value" => '',
"description" => 'Optional - Choose a custom article title color for this block',
'group' => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Next/prev arrow color',
"param_name" => "next_prev_color",
"value" => '',
"description" => 'Optional - Choose a custom next/prev arrow color for this block',
'group' => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Next/prev border color',
"param_name" => "next_prev_border_color",
"value" => '',
"description" => 'Optional - Choose a custom next/prev border color for this block',
'group' => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Next/prev hover color',
"param_name" => "next_prev_hover_color",
"value" => '',
"description" => 'Optional - Choose a custom next/prev hover color',
'group' => 'Style'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "",
'group' => 'Style'
),
),
td_config_helper::get_map_block_font_array( 'f_title', true, 'Block title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_article', false, 'Articles title', 'Style' ),
array (
array (
'param_name' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_video_youtube',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Video Playlist',
"base" => "td_block_video_youtube",
"class" => "td_block_video_playlist_youtube",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td-youtube',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_video_youtube.php',
"params" => array_merge(
array(
array(
"param_name" => "playlist_title",
"type" => "textfield",
"value" => "",
"heading" => "Custom title:",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "",
),
array(
"param_name" => "playlist_source",
"type" => "dropdown",
"value" => array(
'Video ids' => 'video_ids',
'Channel ID' => 'channel_id',
'Username' => 'username',
'Playlist id' => 'playlist_id'
),
"heading" => "Source",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small"
),
array(
"param_name" => "playlist_yt",
"type" => "textfield",
"value" => "",
"heading" => "List of youtube id's separated by comma (ex: NRuE38Bl5Mo, 1ZgoluYjuZM, 0K-0vkFfUmY):",
"description" => "",
"holder" => "div",
"class" => "",
),
array(
"param_name" => "channel_id",
"type" => "textfield",
"value" => "",
"heading" => "Channel ID",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
),
array(
"param_name" => "username",
"type" => "textfield",
"value" => "",
"heading" => "Username",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
),
array(
"param_name" => "playlist_id",
"type" => "textfield",
"value" => "",
"heading" => "Playlist id",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small"
),
array(
"param_name" => "limit",
"type" => "textfield",
"value" => "",
"heading" => "Videos limit (maximum 50)",
"description" => "",
"holder" => "div",
"placeholder" => "10",
"class" => "tdc-textfield-small",
),
array(
"param_name" => "playlist_auto_play",
"type" => "dropdown",
"value" => array('OFF' => '0', 'ON' => '1'),
"heading" => "Autoplay ON / OFF:",
"description" => "Autoplay does not work on mobile devices (android, windows phone, iOS)",
"holder" => "div",
"class" => "tdc-dropdown-small",
),
array(
"param_name" => "cache",
"type" => "dropdown",
"value" => array('ON' => '1', 'OFF' => '0'),
"heading" => "Cache ON / OFF:",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-small",
),
array(
"param_name" => "cache_timeout",
"type" => "dropdown",
"value" => array(
'1 hour' => 1 * HOUR_IN_SECONDS,
'3 hours' => '',
'6 hours' => 6 * HOUR_IN_SECONDS,
'9 hours' => 9 * HOUR_IN_SECONDS,
'12 hours' => 12 * HOUR_IN_SECONDS,
'1 day' => 1 * DAY_IN_SECONDS,
'3 days' => 3 * DAY_IN_SECONDS
),
"heading" => "Cache refresh",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Layout',
"value" => "",
"class" => "",
),
array(
"param_name" => "display",
"type" => "dropdown-responsive",
"value" => array(
'Default' => 'default',
'Row' => 'row',
'Column' => 'column'
),
"heading" => "Display",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
array(
'param_name' => 'v_height',
'type' => 'textfield-responsive',
'value' => '',
'heading' => 'Main video height',
'description' => '',
'placeholder' => 'Default',
'class' => 'tdc-textfield-big',
),
array(
'param_name' => 'p_width',
'type' => 'textfield-responsive',
'value' => '',
'heading' => 'Playlist width',
'description' => '',
'placeholder' => 'Default',
'class' => 'tdc-textfield-big',
),
array(
'param_name' => 'p_height',
'type' => 'textfield-responsive',
'value' => '',
'heading' => 'Playlist height',
'description' => '',
'placeholder' => 'Default',
'class' => 'tdc-textfield-big',
),
array(
"param_name" => "p_horiz_align",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Playlist 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' => 'Style',
"value" => "",
"class" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Custom title color',
"param_name" => "title_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Custom title background color',
"param_name" => "title_bg_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" => 'Videos title color',
"param_name" => "vid_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Videos title hover color',
"param_name" => "vid_color_h",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Videos timestamp color',
"param_name" => "timestamp_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small"
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Current video title color',
"param_name" => "curr_vid_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Current video timestamp color',
"param_name" => "curr_timestamp_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Current video background color',
"param_name" => "curr_bg_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small"
),
),
td_config_helper::get_map_block_font_array( 'f_title', true, 'Custom title text' ),
td_config_helper::get_map_block_font_array( 'f_vid', false, 'Videos title text' ),
td_config_helper::get_map_block_font_array( 'f_curr_vid', false, 'Current video title text' ),
td_config_helper::get_map_block_font_array( 'f_timestamp', false, 'Videos timestamp text' ),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_video_vimeo',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Video Playlist',
"base" => "td_block_video_vimeo",
"class" => "td_block_video_playlist_vimeo",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td-vimeo',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_video_vimeo.php',
"params" => array_merge(
array(
array(
"param_name" => "playlist_title",
"type" => "textfield",
"value" => "",
"heading" => "Custom title:",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
),
array(
"param_name" => "playlist_v",
"type" => "textfield",
"value" => "",
"heading" => "List of vimeo id's separated by comma (ex: 100888579, 84062802, 57863017):",
"description" => "",
"holder" => "div",
"class" => "",
),
array(
"param_name" => "playlist_auto_play",
"type" => "dropdown",
"value" => array('OFF' => '0', 'ON' => '1'),
"heading" => "Autoplay ON / OFF:",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-small",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => ""
),
array(
"param_name" => "display",
"type" => "dropdown-responsive",
"value" => array(
'Default' => 'default',
'Row' => 'row',
'Column' => 'column'
),
"heading" => "Display",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
array(
'param_name' => 'v_height',
'type' => 'textfield-responsive',
'value' => '',
'heading' => 'Main video height',
'description' => '',
'placeholder' => 'Default',
'class' => 'tdc-textfield-big',
),
array(
'param_name' => 'p_width',
'type' => 'textfield-responsive',
'value' => '',
'heading' => 'Playlist width',
'description' => '',
'placeholder' => 'Default',
'class' => 'tdc-textfield-big',
),
array(
'param_name' => 'p_height',
'type' => 'textfield-responsive',
'value' => '',
'heading' => 'Playlist height',
'description' => '',
'placeholder' => 'Default',
'class' => 'tdc-textfield-big',
),
array(
"param_name" => "p_horiz_align",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Playlist 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' => 'Style',
"value" => "",
"class" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Custom title color',
"param_name" => "title_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Custom title background color',
"param_name" => "title_bg_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" => 'Videos title color',
"param_name" => "vid_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Videos title hover color',
"param_name" => "vid_color_h",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Videos timestamp color',
"param_name" => "timestamp_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small"
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Current video title color',
"param_name" => "curr_vid_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Current video timestamp color',
"param_name" => "curr_timestamp_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Current video background color',
"param_name" => "curr_bg_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small"
),
),
td_config_helper::get_map_block_font_array( 'f_title', true, 'Custom title text' ),
td_config_helper::get_map_block_font_array( 'f_vid', false, 'Videos title text' ),
td_config_helper::get_map_block_font_array( 'f_curr_vid', false, 'Current video title text' ),
td_config_helper::get_map_block_font_array( 'f_timestamp', false, 'Videos timestamp text' ),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_image_box',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Image box',
"base" => "td_block_image_box",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td_block_image_box',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_image_box.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'image_item0',
'image_title_item0',
'custom_url_item0',
'image_item1',
'image_title_item1',
'custom_url_item1',
'image_item2',
'image_title_item2',
'custom_url_item2',
'image_item3',
'image_title_item3',
'custom_url_item3',
'el_class'
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Shortcode',
"value" => "",
"class" => "",
),
array(
"param_name" => "height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height',
"description" => "The image height 100 or 100px",
"holder" => "div",
"class" => "tdc-textfield-small"
),
array(
"param_name" => "gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image gap',
"description" => "The gap between block images",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40"
),
array(
"param_name" => "alignment",
"type" => "dropdown",
"value" => array(
'- Center -' => '',
'Top' => 'top',
'Bottom' => 'bottom'
),
"heading" => 'Image alignment',
"description" => "The image alignment",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
array(
"param_name" => "display",
"type" => "dropdown",
"value" => array(
'- Horizontal -' => '',
'Vertical' => 'vertical'
),
"heading" => 'Layout',
"description" => "Block images layout style",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
array(
"param_name" => "style",
"type" => "dropdown",
"value" => array(
'1 - With border' => '',
'2 - White box' => 'style-2'
),
"heading" => 'Box style',
"description" => "Block images box style",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Custom titles color',
"param_name" => "custom_titles_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Custom titles background color',
"param_name" => "custom_titles_bg",
"value" => '',
"description" => '',
"group" => "",
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_titles', false, 'Custom titles text' ),
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" => "image_item0",
"type" => "attach_image",
"value" => '',
"heading" => "Image 1",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Images'
),
array(
"param_name" => "image_title_item0",
"type" => "textfield",
"value" => '',
"heading" => "Custom title",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-extrabig",
"group" => 'Images'
),
array(
"param_name" => "custom_url_item0",
"type" => "textfield",
"value" => '',
"heading" => "Custom url",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-extrabig",
"group" => 'Images'
),
array(
"param_name" => "open_in_new_window_item0",
"type" => "checkbox",
"value" => '',
"heading" => "Open in new window",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Images'
),
array(
"param_name" => "url_rel_item0",
"type" => "dropdown",
"value" => array(
'Disable' => '',
'Nofollow' => 'nofollow',
'Noopener' => 'noopener',
'Noreferrer' => 'noreferrer'
),
"heading" => "Set rel attribute",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => 'Images'
),
array(
"param_name" => "horizontal_separator_item1",
"type" => "horizontal_separator",
"value" => "",
"class" => "",
"group" => 'Images'
),
array(
"param_name" => "image_item1",
"type" => "attach_image",
"value" => '',
"heading" => "Image 2",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Images'
),
array(
"param_name" => "image_title_item1",
"type" => "textfield",
"value" => '',
"heading" => "Custom title",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-extrabig",
"group" => 'Images'
),
array(
"param_name" => "custom_url_item1",
"type" => "textfield",
"value" => '',
"heading" => "Custom url",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-extrabig",
"group" => 'Images'
),
array(
"param_name" => "open_in_new_window_item1",
"type" => "checkbox",
"value" => '',
"heading" => "Open in new window",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Images'
),
array(
"param_name" => "url_rel_item1",
"type" => "dropdown",
"value" => array(
'Disable' => '',
'Nofollow' => 'nofollow',
'Noopener' => 'noopener',
'Noreferrer' => 'noreferrer'
),
"heading" => "Set rel attribute",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => 'Images'
),
array(
"param_name" => "horizontal_separator_item2",
"type" => "horizontal_separator",
"value" => "",
"class" => "",
"group" => 'Images'
),
array(
"param_name" => "image_item2",
"type" => "attach_image",
"value" => '',
"heading" => "Image 3",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Images'
),
array(
"param_name" => "image_title_item2",
"type" => "textfield",
"value" => '',
"heading" => "Custom title",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-extrabig",
"group" => 'Images'
),
array(
"param_name" => "custom_url_item2",
"type" => "textfield",
"value" => '',
"heading" => "Custom url",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-extrabig",
"group" => 'Images'
),
array(
"param_name" => "open_in_new_window_item2",
"type" => "checkbox",
"value" => '',
"heading" => "Open in new window",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Images'
),
array(
"param_name" => "url_rel_item2",
"type" => "dropdown",
"value" => array(
'Disable' => '',
'Nofollow' => 'nofollow',
'Noopener' => 'noopener',
'Noreferrer' => 'noreferrer'
),
"heading" => "Set rel attribute",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => 'Images'
),
array(
"param_name" => "horizontal_separator_item3",
"type" => "horizontal_separator",
"value" => "",
"class" => "",
"group" => 'Images'
),
array(
"param_name" => "image_item3",
"type" => "attach_image",
"value" => '',
"heading" => "Image 4",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Images'
),
array(
"param_name" => "image_title_item3",
"type" => "textfield",
"value" => '',
"heading" => "Custom title",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-extrabig",
"group" => 'Images'
),
array(
"param_name" => "custom_url_item3",
"type" => "textfield",
"value" => '',
"heading" => "Custom url",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-extrabig",
"group" => 'Images'
),
array(
"param_name" => "open_in_new_window_item3",
"type" => "checkbox",
"value" => '',
"heading" => "Open in new window",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Images'
),
array(
"param_name" => "url_rel_item3",
"type" => "dropdown",
"value" => array(
'Disable' => '',
'Nofollow' => 'nofollow',
'Noopener' => 'noopener',
'Noreferrer' => 'noreferrer'
),
"heading" => "Set rel attribute",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => 'Images'
),
array (
'param_name' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_author',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Author box',
"base" => "td_block_author",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td_block_author',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_author.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'author_id',
'author_slug',
'author_url_text',
'author_url',
'el_class'
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'General',
"value" => "",
"class" => "",
),
array(
"param_name" => "author_id",
"type" => "textfield",
"value" => '',
"heading" => "Author ID",
"description" => "Hover username from Users screen to get the ID",
"holder" => "div",
"class" => "tdc-textfield-small",
),
array(
"param_name" => "author_slug",
"type" => "textfield",
"value" => '',
"heading" => "Author Slug",
"description" => "Type the user name",
"holder" => "div",
"class" => "tdc-textfield-small",
),
array(
"param_name" => "author_url_text",
"type" => "textfield",
"value" => '',
"heading" => "Author page link text",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
),
array(
"param_name" => "author_url",
"type" => "textfield",
"value" => '',
"heading" => "Author page link 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" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "",
),
array(
"param_name" => "photo_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Author photo size",
"description" => "",
"holder" => "div",
"placeholder" => '196',
"class" => "tdc-textfield-small",
),
array(
"param_name" => "photo_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Author photo radius",
"description" => "",
"holder" => "div",
"placeholder" => '50%',
"class" => "tdc-textfield-small",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Author name color',
"param_name" => "author_name_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Author description color',
"param_name" => "author_description_color",
"value" => '',
"description" => '',
"group" => "",
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_name', false, 'Author name' ),
td_config_helper::get_map_block_font_array( 'f_descr', false, 'Description text' ),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_authors',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Authors box',
"base" => "td_block_authors",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td_block_authors',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_authors.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'roles',
'sort',
'exclude',
'include',
'el_class'
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'General',
"value" => "",
"class" => "",
),
array (
"param_name" => "roles",
"type" => "textfield",
"value" => '',
"heading" => "User roles",
//"description" => "Optional - Filter by role, add one or more <a target='_blank' href='https://codex.wordpress.org/Roles_and_Capabilities'>user roles</a> , separate them with a comma (ex. Administrator, Editor, Author, Contributor, Subscriber)",
"description" => "Optional - Filter by role, add one or more user rolse, separate them with a comma (ex. Administrator, Editor, Author, Contributor, Subscriber). Please see Wordpress Roles and Capabilities",
"holder" => "div",
"class" => "tdc-textfield-big",
),
array(
"param_name" => "sort",
"type" => "dropdown",
"value" => array('- Sort by name -' => '', 'Sort by post count' => 'post_count'),
"heading" => 'Sort authors by:',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
array(
"param_name" => "exclude",
"type" => "textfield",
"value" => '',
"heading" => "Exclude authors id (comma separated)",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
),
array(
"param_name" => "include",
"type" => "textfield",
"value" => '',
"heading" => "Include authors id (comma separated) - do not use with exclude",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
),
array(
"param_name" => "number",
"type" => "textfield",
"value" => '',
"heading" => "Limit the authors",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
),
array(
"param_name" => "show_posts",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Show posts counter",
"description" => "This will remove the posts counter",
"holder" => "div",
"class" => "",
"info_img" => "",
),
array(
"param_name" => "show_comments",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Show comments counter",
"description" => "This will remove the comments counter",
"holder" => "div",
"class" => "",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "",
),
array(
"param_name" => "photo_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Author photo size",
"description" => "Please make sure that the image is cropped at the specific square size",
"holder" => "div",
"placeholder" => '70',
"class" => "tdc-textfield-small",
),
array(
"param_name" => "photo_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => "Author photo radius",
"description" => "",
"holder" => "div",
"placeholder" => '',
"class" => "tdc-textfield-small",
),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_popular_categories',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Popular category',
"base" => "td_block_popular_categories",
"class" => "td_block_popular_categories",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-popular_categories',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_popular_categories.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'el_class'
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "limit",
"type" => "textfield",
"value" => "6",
"heading" => 'Limit the shown categories:',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Category name color',
"param_name" => "category_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Category posts count color',
"param_name" => "category_posts_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Category name hover color',
"param_name" => "category_color_h",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Category posts count hover color',
"param_name" => "category_posts_color_h",
"value" => '',
"description" => '',
"group" => "",
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Category name text' ),
td_config_helper::get_map_block_font_array( 'f_posts', false, 'Category posts count text' ),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_categories_tags',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Categories/tags list',
"base" => "td_block_categories_tags",
"class" => "td_block_categories_tags",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-categories',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_categories_tags.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'cat_id_filter',
'el_class'
),
'tdc_start_values' => base64_encode(
json_encode(
array(
array(
"post_count" => "yes",
)
)
)
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Layout',
"value" => "",
"class" => "",
),
array (
'param_name' => 'type',
'heading' => 'Type',
'type' => 'dropdown',
'value' => array (
'Categories' => '',
'Tags' => 'tags',
),
'class' => 'tdc-dropdown-big',
'group' => '',
),
array (
'param_name' => 'order_by',
'heading' => 'Order by',
'type' => 'dropdown',
'value' => array (
'Alphabetically' => '',
'Popularity' => 'count',
),
'class' => 'tdc-dropdown-big',
'group' => '',
),
array(
"param_name" => "limit",
"type" => "textfield",
"value" => "6",
"heading" => 'Limit the shown items',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
),
array(
"param_name" => "id_filter",
"type" => "textfield",
"value" => "",
"heading" => 'ID filter',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
),
array(
"param_name" => "post_count",
"type" => "checkbox",
"value" => '',
"heading" => "Show post count",
"description" => "",
"holder" => "div",
"class" => "",
),
array(
"param_name" => "inline",
"type" => "checkbox-responsive",
"value" => '',
"heading" => "Display list elements inline",
"description" => "",
"holder" => "div",
"class" => "",
),
array(
"param_name" => "item_horiz_align",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Menu list horiz 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" => "item_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '0',
),
array(
"param_name" => "items_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0 10px 0 12px",
"group" => "",
),
array(
"param_name" => "items_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => '0',
),
array(
'param_name' => 'items_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' => 'items_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',
"value" => "",
"class" => "tdc-separator-small",
"group" => "",
),
array(
"param_name" => "sep_text",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Text separator',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '',
),
array(
'param_name' => 'tdicon',
'type' => 'icon',
'heading' => 'Icon separator',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => "",
),
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',
"group" => "",
),
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',
"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',
"group" => "",
),
array(
"param_name" => "bg_color",
"type" => "gradient",
"holder" => "div",
"class" => "",
"heading" => 'Background color',
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Name color',
"param_name" => "color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Posts count color',
"param_name" => "posts_color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"param_name" => "border_color",
"type" => "gradient",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"param_name" => "i_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Icon color',
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"param_name" => "bg_color_h",
"type" => "gradient",
"holder" => "div",
"class" => "",
"heading" => 'Background hover color',
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Name hover color',
"param_name" => "color_h",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Posts count hover color',
"param_name" => "posts_color_h",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"param_name" => "border_hover_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border hover color',
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_name', false, 'Item name text', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_posts', false, 'Item posts count text', 'Style' ),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_archives',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Archives list',
"base" => "td_block_archives",
"class" => "td_block_archives",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-categories',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_archives.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'el_class'
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Layout',
"value" => "",
"class" => "",
),
array(
"param_name" => "limit",
"type" => "textfield",
"value" => "6",
"heading" => 'Limit the shown items',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
),
array(
"param_name" => "inline",
"type" => "checkbox-responsive",
"value" => '',
"heading" => "Display list elements inline",
"description" => "",
"holder" => "div",
"class" => "",
),
array(
"param_name" => "item_horiz_align",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Menu list horiz 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" => "item_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => '0',
),
array(
"param_name" => "items_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0 10px 0 12px",
"group" => "",
),
array(
"param_name" => "items_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => '0',
),
array(
'param_name' => 'items_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' => 'items_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',
"value" => "",
"class" => "tdc-separator-small",
"group" => "",
),
array(
'param_name' => 'tdicon',
'type' => 'icon',
'heading' => 'Icon separator',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => "",
),
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',
"group" => "",
),
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',
"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',
"group" => "",
),
array(
"param_name" => "bg_color",
"type" => "gradient",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Background color',
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"param_name" => "bg_color_h",
"type" => "gradient",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Background hover color',
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Name color',
"param_name" => "color",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Name hover color',
"param_name" => "color_h",
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"param_name" => "border_color",
"type" => "gradient",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Border color',
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"param_name" => "border_hover_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Border hover color',
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"param_name" => "i_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Icon color',
"value" => '',
"description" => '',
"group" => "Style",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_name', false, 'Item name text', 'Style' ),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_slide',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Slide',
"base" => "td_block_slide",
"class" => "td_block_slide",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-slide',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_slide.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'post_ids',
'category_id',
'category_ids',
'tag_slug',
'autors_id',
'installed_post_types',
'sort',
'offset',
'td_filter_default_txt',
'td_ajax_preloading',
'td_ajax_filter_ids',
'el_class'
),
'tdc_start_values' => base64_encode(
json_encode(
array(
array(
"image_size" => "",
"meta_info_vert" => "content-vert-bottom",
"nav_icon_size" => "eyJhbGwiOiI1NSIsInBvcnRyYWl0IjoiMzgifQ==",
"color_overlay" => "eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjgpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjUwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjgpLHJnYmEoMCwwLDAsMCkgNTAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC44KSxyZ2JhKDAsMCwwLDApIDUwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC44KSxyZ2JhKDAsMCwwLDApIDUwJSxyZ2JhKDAsMCwwLDApIn0=",
)
)
)
),
"params" => array_merge(
self::td_slide_params(),
self::get_map_block_ajax_filter_array(),
array(
array (
'param_name' => 'content_width',
'heading' => 'Content width',
'type' => 'dropdown-responsive',
'value' => array (
'Full width content' => '',
'1068px content' => '1068px',
'1200px content' => '1200px',
'1400px content' => '1400px',
'1600px content' => '1600px',
'1800px content' => '1800px',
),
'class' => 'tdc-dropdown-big',
'group' => 'Layout',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Image',
"value" => "",
"class" => "",
"group" => "Layout"
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'Default' => '',
'Small - 324x400px' => 'td_324x400',
'Medium - 696px' => 'td_696x0',
'Large - 1068px' => 'td_1068x0',
'Full - 1920px' => 'td_1920x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height',
"description" => "Default value in px",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "580",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
),
self::get_map_exclusive_label_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Meta info',
"value" => "",
"class" => "",
"group" => "Layout"
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_info_vert",
"type" => "dropdown",
"value" => array(
'Bottom' => 'content-vert-bottom',
'Center' => 'content-vert-center',
'Top' => 'content-vert-top'
),
"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_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0 22px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "art_title_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "5px 0px 5px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "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" => "category_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "4px 7px 3px 7px",
"group" => "Layout",
),
array(
'param_name' => '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",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "show_author",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "show_date",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "show_com",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show comment',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Navigation',
"value" => "",
"class" => "",
"group" => "Layout"
),
array(
'param_name' => 'prev_tdicon',
'type' => 'icon',
'heading' => 'Previous slide icon',
'class' => 'tdc-textfield-small',
'value' => '',
'group' => 'Layout',
),
array(
'param_name' => 'next_tdicon',
'type' => 'icon',
'heading' => 'Next slide icon',
'class' => 'tdc-textfield-small',
'value' => '',
'group' => 'Layout',
),
array(
'param_name' => 'nav_icon_size',
'type' => 'range-responsive',
'value' => '55',
'heading' => 'Icons size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '8',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_ajax', false, 'Ajax categories', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_ajax.png', '' ),
td_config_helper::module_slide_font(),
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" => "color_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Color overlay",
"value" => "",
"class" => "",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_image_overlay.png",
),
array(
"param_name" => "color_overlay_h",
"holder" => "div",
"type" => "gradient",
'heading' => "Hover color overlay",
"value" => "",
"class" => "",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_image_overlay.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Meta info',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"param_name" => "title_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Article title 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" => "",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"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" => "",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comments color',
"param_name" => "comm_txt",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Review stars color',
"param_name" => "review_stars",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Navigation',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Navigation icons color',
"param_name" => "nav_icons_color",
"value" => '',
"description" => '',
"group" => 'Style',
),
),
array (
array (
'param_name' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_text_with_title',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Text with title',
"base" => "td_block_text_with_title",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-title',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_text_with_title.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'content',
'el_class'
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "title_tag",
"type" => "dropdown",
"value" => array(
'Default - H4' => '',
'H1' => 'h1',
'H2' => 'h2',
'H3' => 'h3',
'Div' => 'div'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => '',
),
array(
"param_name" => "content",
"type" => "textarea_html",
"holder" => "div",
"class" => "",
"heading" => 'Text',
"value" => "",
"description" => 'Enter your content.'
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "",
),
array(
"param_name" => "post_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Post content color',
"value" => '',
"description" => '',
),
array(
"param_name" => "h_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'H1-6 color',
"value" => '',
"description" => '',
),
array(
"param_name" => "a_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Links color',
"value" => '',
"description" => '',
),
array(
"param_name" => "a_hover_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Links hover color',
"value" => '',
"description" => '',
),
array(
"param_name" => "bq_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Default blockquote color',
"value" => '',
"description" => '',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small"
),
),
td_config_helper::get_map_block_font_array( 'f_post', true, 'Post content' ),
td_config_helper::get_map_block_font_array( 'f_h1', false, 'H1' ),
td_config_helper::get_map_block_font_array( 'f_h2', false, 'H2' ),
td_config_helper::get_map_block_font_array( 'f_h3', false, 'H3' ),
td_config_helper::get_map_block_font_array( 'f_h4', false, 'H4' ),
td_config_helper::get_map_block_font_array( 'f_h5', false, 'H5' ),
td_config_helper::get_map_block_font_array( 'f_h6', false, 'H6' ),
td_config_helper::get_map_block_font_array( 'f_list', false, 'Lists' ),
td_config_helper::get_map_block_font_array( 'f_bq', false, 'Default blockquote' ),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_title',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"base" => "td_block_title",
'name' => __( 'Title', 'td_composer' ),
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-title',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_title.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'el_class'
),
'tdc_start_values' => base64_encode(
json_encode(
array (
array(
'title_tag' => 'h4',
)
)
)
),
"params" => array_merge(
self::get_map_block_general_array(),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => ""
),
array(
"param_name" => "title_tag",
"type" => "dropdown",
"value" => array(
'H1' => 'h1',
'H2' => 'h2',
'H3' => 'h3',
'H4 - Default' => 'h4',
'Div' => 'div'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
),
array(
"param_name" => "content_align_horizontal",
"type" => "dropdown-responsive",
"value" => array(
'Default' => 'layout-default',
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Title 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' => 'el_class',
'type' => 'textfield',
'value' => '',
'heading' => 'Extra class',
'description' => 'Style particular content element differently - add a class name and refer to it in custom CSS',
'class' => 'tdc-textfield-extrabig',
),
array (
'param_name' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_weather',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Weather',
"base" => "td_block_weather",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td-weather',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_weather.php',
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Weather settings',
"value" => "",
"class" => "",
),
array(
"param_name" => "w_key",
"type" => "textfield",
"value" => '',
"heading" => "Api key",
"description" => '<a href="https://forum.tagdiv.com/weather-widget/" target="_blank">How to get an api key</a>',
"holder" => "div",
"class" => "",
),
array(
"param_name" => "w_location",
"type" => "textfield",
"value" => '',
"heading" => "Location",
"description" => '<a href="http://openweathermap.org/find" target="_blank">Find your location</a> - You can use "city name" or "city id" (check weather wiget tutorial). Note that the widget will autotranslate itself to the language from the theme panel only if a translation is available. <a href="http://bugs.openweathermap.org/projects/api/wiki/Api_2_5_weather" target="_blank">The available languages</a> (section 4.2)',
"holder" => "div",
"class" => "",
),
array(
"param_name" => "w_units",
"type" => "dropdown",
"value" => array (
'- Celsius -' => '',
'Fahrenheit' => 'imperial' ,
),
"heading" => 'Units:',
"description" => '',
"holder" => "div",
"class" => "tdc-dropdown-big",
),
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" => "separator",
"type" => "text_separator",
'heading' => 'Heading',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style"
),
array(
"param_name" => "city_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'City color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "condition_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Weather condition color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "loc_icon_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Localization icon color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Current weather',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style"
),
array(
"param_name" => "temp_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Temperature color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style"
),
array(
"param_name" => "temp_min_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Temperature min color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "temp_min_i_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Temperature min icon color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style"
),
array(
"param_name" => "temp_max_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Temperature max color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "temp_max_i_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Temperature max icon color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style"
),
array(
"param_name" => "sep_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Separator color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "humid_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Humidity color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "wind_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Winds speed color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "clouds_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Clouds color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Forecast',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Style"
),
array(
"param_name" => "frcst_bg_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Background color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "frcst_day_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Day name color',
"value" => '',
"description" => '',
"group" => "Style"
),
array(
"param_name" => "frcst_temp_color",
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Temperature color',
"value" => '',
"description" => '',
"group" => "Style"
),
array (
'param_name' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_exchange',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Exchange',
"base" => "td_block_exchange",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td-exchange',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_exchange.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'exchange_key',
'e_base_currency',
'e_custom_rates',
'e_rate_decimals',
'el_class'
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "title_tag",
"type" => "dropdown",
"value" => array(
'Default - H4' => '',
'H1' => 'h1',
'H2' => 'h2',
'H3' => 'h3',
'Div' => 'div'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
),
array(
"param_name" => 'exchange_key',
"type" => "textfield",
"value" => '',
"heading" => "Api key:",
"description" => '<a href="https://forum.tagdiv.com/exchange-widget/" target="_blank">How to get an api key</a>',
"holder" => "div",
"class" => "",
'group' => 'Exchange'
),
array(
"param_name" => "e_base_currency",
"type" => "dropdown",
"value" => array (
'EUR - Euro Member Countries (default)' => '',
'AUD - Australian Dollar' => 'aud',
'BGN - Bulgarian Lev' => 'bgn',
'BRL - Brazilian Real' => 'brl',
'CAD - Canadian Dollar' => 'cad',
'CHF - Swiss Franc' => 'chf',
'CNY - Chinese Yuan Renminbi' => 'cny',
'CZK - Czech Republic Koruna' => 'czk',
'DKK - Danish Krone' => 'dkk',
'GBP - British Pound' => 'gbp',
'HKD - Hong Kong Dollar' => 'hkd',
'HRK - Croatian Kuna' => 'hrk',
'HUF - Hungarian Forint' => 'huf',
'IDR - Indonesian Rupiah' => 'idr',
'ILS - Israeli Shekel' => 'ils',
'INR - Indian Rupee' => 'inr',
'JPY - Japanese Yen' => 'jpy',
'KRW - Korean (South) Won' => 'krw',
'MXN - Mexican Peso' => 'mxn',
'MYR - Malaysian Ringgit' => 'myr',
'NOK - Norwegian Krone' => 'nok',
'NZD - New Zealand Dollar' => 'nzd',
'PHP - Philippine Peso' => 'php',
'PLN - Polish Zloty' => 'pln',
'RON - Romanian (New) Leu' => 'ron',
'RUB - Russian Ruble' => 'rub',
'SEK - Swedish Krona' => 'sek',
'SGD - Singapore Dollar' => 'sgd',
'THB - Thai Baht' => 'thb',
'TRY - Turkish Lira' => 'try',
'USD - United States Dollar' => 'usd',
'ZAR - South African Rand' => 'zar'
),
"heading" => 'Base currency:',
"description" => '',
"holder" => "div",
"class" => "",
'group' => 'Exchange'
),
array(
"param_name" => "e_custom_rates",
"type" => "textfield",
"value" => '',
"heading" => "Rates",
"description" => 'Add the rates you want to display, use a coma between the elements (ex. EUR, USD) If you leave it empty it will display all rates.
<ul class="td-exchange-table">
<li><span title="Euro Member Countries" class="td-flags td-flag-eur"></span>EUR</li>
<li><span title="Australian Dollar" class="td-flags td-flag-aud"></span>AUD</li>
<li><span title="Bulgarian Lev" class="td-flags td-flag-bgn"></span>BGN</li>
<li><span title="Brazilian Real" class="td-flags td-flag-brl"></span>BRL</li>
<li><span title="Canadian Dollar" class="td-flags td-flag-cad"></span>CAD</li>
<li><span title="Swiss Franc" class="td-flags td-flag-chf"></span>CHF</li>
<li><span title="Chinese Yuan Renminbi" class="td-flags td-flag-cny"></span>CNY</li>
<li><span title="Czech Republic Koruna" class="td-flags td-flag-czk"></span>CZK</li>
<li><span title="Danish Krone" class="td-flags td-flag-dkk"></span>DKK</li>
<li><span title="British Pound" class="td-flags td-flag-gbp"></span>GBP</li>
<li><span title="Hong Kong Dollar" class="td-flags td-flag-hkd"></span>HKD</li>
<li><span title="Croatian Kuna" class="td-flags td-flag-hrk"></span>HRK</li>
<li><span title="Hungarian Forint" class="td-flags td-flag-huf"></span>HUF</li>
<li><span title="Indonesian Rupiah" class="td-flags td-flag-idr"></span>IDR</li>
<li><span title="Israeli Shekel" class="td-flags td-flag-ils"></span>ILS</li>
<li><span title="Indian Rupee" class="td-flags td-flag-inr"></span>INR</li>
<li><span title="Japanese Yen" class="td-flags td-flag-jpy"></span>JPY</li>
<li><span title="Korean (South) Won" class="td-flags td-flag-krw"></span>KRW</li>
<li><span title="Mexican Peso" class="td-flags td-flag-mxn"></span>MXN</li>
<li><span title="Malaysian Ringgit" class="td-flags td-flag-myr"></span>MYR</li>
<li><span title="Norwegian Krone" class="td-flags td-flag-nok"></span>NOK</li>
<li><span title="New Zealand Dollar" class="td-flags td-flag-nzd"></span>NZD</li>
<li><span title="Philippine Peso" class="td-flags td-flag-php"></span>PHP</li>
<li><span title="Polish Zloty" class="td-flags td-flag-pln"></span>PLN</li>
<li><span title="Romanian New Leu" class="td-flags td-flag-ron"></span>RON</li>
<li><span title="Russian Ruble" class="td-flags td-flag-rub"></span>RUB</li>
<li><span title="Swedish Krona" class="td-flags td-flag-sek"></span>SEK</li>
<li><span title="Singapore Dollar" class="td-flags td-flag-sgd"></span>SGD</li>
<li><span title="Thai Baht" class="td-flags td-flag-thb"></span>THB</li>
<li><span title="Turkish Lira" class="td-flags td-flag-try"></span>TRY</li>
<li><span title="United States Dollar" class="td-flags td-flag-usd"></span>USD</li>
<li><span title="South African Rand" class="td-flags td-flag-zar"></span>ZAR</li>
</ul><div class="td-clearfix"></div>',
"holder" => "div",
"class" => "",
'group' => 'Exchange'
),
array(
"param_name" => "e_rate_decimals",
"type" => "dropdown",
"value" => array (
'- default -' => '',
'1' => 1,
'2' => 2,
'3' => 3
),
"tdc_value" => array (
'1' => 1,
'2' => 2,
'3' => 3,
'4' => '',
),
"heading" => 'Rate decimals:',
"description" => 'Set the number of decimals to be displayed for each rate. By default it will display 4 decimals (ex. 0.4322).',
"holder" => "div",
"class" => "tdc-dropdown-small",
'group' => 'Exchange'
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Heading text color',
"param_name" => "heading_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Heading background color',
"param_name" => "heading_bg_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Currency name color',
"param_name" => "currency_name_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Currency value color',
"param_name" => "currency_value_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Currency border color',
"param_name" => "currency_border_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => ""
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_heading', false, 'Heading text' ),
td_config_helper::get_map_block_font_array( 'f_curr', false, 'Currency name text' ),
td_config_helper::get_map_block_font_array( 'f_val', false, 'Currency value text' ),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_tabbed_content',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Tabbed Content',
"base" => "td_block_tabbed_content",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_tabbed_content.php',
'tdc_style_params' => array(
'tc_id',
'remember_tab',
'page_0_id',
'page_0_title',
'page_0_tdicon',
'page_1_id',
'page_1_title',
'page_1_tdicon',
'page_2_id',
'page_2_title',
'page_2_tdicon',
'page_3_id',
'page_3_title',
'page_3_tdicon',
'page_4_id',
'page_4_title',
'page_4_tdicon',
'el_class'
),
"params" => array_merge(
array(
array(
'param_name' => 'tc_id',
'type' => 'textfield',
'value' => '',
'heading' => 'Unique id',
'description' => 'A unique identifier used by some of the tabbed content\'s functionalities. When duplicating the shortcode, make sure to change this ID to avoid any issues.',
'class' => 'tdc-textfield-big',
"group" => "",
),
array(
"param_name" => "remember_tab",
"type" => "checkbox",
"value" => '',
"heading" => "Remember active tab on page refresh",
"description" => "",
"holder" => "div",
"class" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Pages',
"value" => "",
"class" => "tdc-separator",
"group" => ""
),
array(
"param_name" => "pages_header",
"type" => "pages_header",
"value" => "",
"class" => '',
"id_heading_txt" => 'ID',
),
array(
"param_name" => "page_0_id",
"type" => "textfield",
"value" => '',
"heading" => 'Page 1 ID',
"description" => "",
"placeholder" => "-",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-page-controller tdc-page-id",
'group' => '',
),
array(
"param_name" => "page_0_title",
"type" => "textfield",
"value" => '',
"heading" => 'Page 1 title',
"description" => "",
"placeholder" => "Page 1 title",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-page-controller tdc-page-title",
'group' => '',
),
array(
'param_name' => 'page_0_tdicon',
'type' => 'icon',
'heading' => 'Page 1 icon',
'class' => 'tdc-textfield-small tdc-page-controller tdc-page-icon',
'value' => '',
"group" => ''
),
array(
"param_name" => "page_1_id",
"type" => "textfield",
"value" => '',
"heading" => 'Page 2 ID',
"description" => "",
"placeholder" => "-",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-page-controller tdc-page-id",
'group' => '',
),
array(
"param_name" => "page_1_title",
"type" => "textfield",
"value" => '',
"heading" => 'Page 2 title',
"description" => "",
"placeholder" => "Page 2 title",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-page-controller tdc-page-title",
'group' => '',
),
array(
'param_name' => 'page_1_tdicon',
'type' => 'icon',
'heading' => 'Page 2 icon',
'class' => 'tdc-textfield-small tdc-page-controller tdc-page-icon',
'value' => '',
"group" => ''
),
array(
"param_name" => "page_2_id",
"type" => "textfield",
"value" => '',
"heading" => 'Page 3 ID',
"description" => "",
"placeholder" => "-",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-page-controller tdc-page-id",
'group' => '',
),
array(
"param_name" => "page_2_title",
"type" => "textfield",
"value" => '',
"heading" => 'Page 3 title',
"description" => "",
"placeholder" => "Page 3 title",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-page-controller tdc-page-title",
'group' => '',
),
array(
'param_name' => 'page_2_tdicon',
'type' => 'icon',
'heading' => 'Page 3 icon',
'class' => 'tdc-textfield-small tdc-page-controller tdc-page-icon',
'value' => '',
"group" => ''
),
array(
"param_name" => "page_3_id",
"type" => "textfield",
"value" => '',
"heading" => 'Page 4 ID',
"description" => "",
"placeholder" => "-",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-page-controller tdc-page-id",
'group' => '',
),
array(
"param_name" => "page_3_title",
"type" => "textfield",
"value" => '',
"heading" => 'Page 4 title',
"description" => "",
"placeholder" => "Page 4 title",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-page-controller tdc-page-title",
'group' => '',
),
array(
'param_name' => 'page_3_tdicon',
'type' => 'icon',
'heading' => 'Page 4 icon',
'class' => 'tdc-textfield-small tdc-page-controller tdc-page-icon',
'value' => '',
"group" => ''
),
array(
"param_name" => "page_4_id",
"type" => "textfield",
"value" => '',
"heading" => 'Page 5 ID',
"description" => "",
"placeholder" => "-",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-page-controller tdc-page-id",
'group' => '',
),
array(
"param_name" => "page_4_title",
"type" => "textfield",
"value" => '',
"heading" => 'Page 5 title',
"description" => "",
"placeholder" => "Page 5 title",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-page-controller tdc-page-title",
'group' => '',
),
array(
'param_name' => 'page_4_tdicon',
'type' => 'icon',
'heading' => 'Page 5 icon',
'class' => 'tdc-textfield-small tdc-page-controller tdc-page-icon',
'value' => '',
"group" => ''
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'General',
),
array(
"param_name" => "tds_tabbed_content",
"type" => "dropdown",
"value" => td_api_style::get_styles_for_mapping( 'tds_tabbed_content', false ),
"heading" => 'Style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-extrabig",
"group" => "General",
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
// get instagram connected personal/business accounts saved data
$td_instagram_personal_account = td_options::get_array( 'td_instagram_connected_account'); // td_options personal account
$td_instagram_business_accounts = td_options::get_array( 'td_instagram_business_accounts'); // td_options business accounts
// personal connected account
$personal_connected_account = $td_instagram_personal_account['connected_account'] ?? array();
// business connected accounts
$business_connected_accounts = !empty($td_instagram_business_accounts) ? $td_instagram_business_accounts : array();
$business_connected_accounts_list = implode( ',', array_column( $business_connected_accounts, 'name' ) );
$is_personal_account_connected = !empty( $personal_connected_account );
$are_business_accounts_connected = !empty( $business_connected_accounts );
$instagram_account_sources = array(
'Instagram ID' => 'ig_id'
);
// personal connected account
$connected_account_personal = $td_instagram_personal_account['connected_account'] ?? array();
if ( !empty( $connected_account_personal ) ) {
$instagram_account_sources['--personal account--'] = '__';
$instagram_account_sources[$connected_account_personal['username']] = 'ig_personal';
}
// business connected accounts
$connected_accounts_business = !empty($td_instagram_business_accounts) ? $td_instagram_business_accounts : array();
if ( !empty( $connected_accounts_business ) ) {
$instagram_account_sources['--business accounts--'] = '__';
foreach ( $connected_accounts_business as $account ) {
if ( isset( $account['name'] ) && isset( $account['username'] ) ) {
$instagram_account_sources[$account['name']] = 'ig_business_' . $account['username'];
}
}
}
td_api_block::add('td_block_instagram',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Instagram',
"base" => "td_block_instagram",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td-instagram',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_instagram.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'instagram_id',
'el_class'
),
"params" => array_merge(
self::get_map_block_general_array(),
self::td_instagram_demo_data(),
array(
array(
"param_name" => "title_tag",
"type" => "dropdown",
"value" => array(
'Default - H4' => '',
'H1' => 'h1',
'H2' => 'h2',
'H3' => 'h3',
'Div' => 'div'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
),
array(
"param_name" => "instagram_id",
"type" => "textfield",
"value" => '',
"heading" => "Instagram ID",
"description" => 'Enter the ID as it appears after the instagram url (ex. https://www.instagram.com/myID)',
"holder" => "div",
"class" => "tdc-textfield-extrabig",
'group' => 'Instagram'
),
array(
"param_name" => "instagram_account_source",
"type" => "dropdown",
"value" => $instagram_account_sources,
"heading" => "Instagram Account Source:",
"description" => 'This option sets the source type/account to be used as source to pull feeds.',
"holder" => "div",
"class" => "",
'group' => 'Instagram'
),
array(
"param_name" => "instagram_account_personal",
"type" => "custom",
"value" => $is_personal_account_connected ? 'Connected as <b>' . $personal_connected_account['username'] . '</b>' : 'No personal account connected.',
"heading" => "Instagram Personal Account Status:",
"description" => 'Your Instagram personal account connection status.',
"holder" => "div",
"class" => "",
'group' => 'Instagram'
),
array(
"param_name" => "instagram_accounts_business",
"type" => "custom",
"value" => $are_business_accounts_connected ? 'Connected to <b>' . $business_connected_accounts_list . '</b>' : 'No business accounts connected.',
"heading" => "Instagram Business Accounts Status:",
"description" => 'Your Instagram business accounts connection status.',
"holder" => "div",
"class" => "",
'group' => 'Instagram'
),
array(
"param_name" => "instagram_header",
"type" => "dropdown",
"value" => array (
'On' => '',
'Off' => 'off'
),
"heading" => "Instagram header:",
"description" => 'Display or hide the Instagram header section (default: On)',
"holder" => "div",
"class" => "tdc-dropdown-small",
'group' => 'Instagram'
),
array(
"param_name" => "instagram_user_photo",
"type" => "attach_image",
"value" => '',
"heading" => "User photo",
"description" => "",
"holder" => "div",
"class" => "",
'group' => 'Instagram'
),
array(
"param_name" => "instagram_images_per_row",
"type" => "dropdown",
"value" => array (
'- Default -' => '',
'1' => 1,
'2' => 2,
'3' => 3,
'4' => 4,
'5' => 5,
'6' => 6,
'7' => 7,
'8' => 8
),
"tdc_value" => array (
'1' => 1,
'2' => 2,
'3' => '',
'4' => 4,
'5' => 5,
'6' => 6,
'7' => 7,
'8' => 8
),
"heading" => 'Number of images per row:',
"description" => 'Set the number of images displayed on each row (default is 3).',
"holder" => "div",
"class" => "tdc-dropdown-small",
'group' => 'Instagram'
),
array(
"param_name" => "instagram_images_size",
"type" => "dropdown",
"value" => array(
'Default - Full' => '',
'Small - 150px' => 'td_150x0',
'Small - 300px' => 'td_300x0',
'Medium - 696px' => 'td_696x0',
'Large - 1068px' => 'td_1068x0'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Instagram",
),
array(
"param_name" => "instagram_number_of_rows",
"type" => "dropdown",
"value" => array (
'- Default -' => '',
'1' => 1,
'2' => 2,
'3' => 3,
'4' => 4,
'5' => 5
),
"tdc_value" => array (
'1' => '',
'2' => 2,
'3' => 3,
'4' => 4,
'5' => 5
),
"heading" => 'Number of rows:',
"description" => 'Set on how many rows to display the images (default is 1)',
"holder" => "div",
"class" => "tdc-dropdown-small",
'group' => 'Instagram'
),
array(
"param_name" => "instagram_margin",
"type" => "dropdown",
"value" => array (
'No gap' => '',
'2 px' => 2,
'5 px' => 5
),
"heading" => "Image gap",
"description" => 'Set a gap between images (default: No gap)',
"holder" => "div",
"class" => "tdc-dropdown-big",
'group' => 'Instagram'
),
array(
"param_name" => "instagram_rel",
"type" => "dropdown",
"value" => array(
'Disable' => '',
'Nofollow' => 'nofollow',
'Noopener' => 'noopener',
'Noreferrer' => 'noreferrer'
),
"heading" => "Set rel attribute",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
'group' => 'Instagram'
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Instagram handle color',
"param_name" => "handle_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Followers count color',
"param_name" => "followers_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Button text color',
"param_name" => "btn_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Button border color',
"param_name" => "btn_border_color",
"value" => '',
"description" => '',
"group" => "",
"info_img" => "https://cloud.tagdiv.com/help/module_button_border_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => ""
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_handle', false, 'Instagram handle text' ),
td_config_helper::get_map_block_font_array( 'f_followers', false, 'Followers count text' ),
td_config_helper::get_map_block_font_array( 'f_btn_text', false, 'Button text text' ),
td_config_helper::mix_blend(''),
td_config_helper::image_filters(''),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array(
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_pinterest',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Pinterest',
"base" => "td_block_pinterest",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td-pinterest',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_pinterest.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'pinterest_id',
'el_class'
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "title_tag",
"type" => "dropdown",
"value" => array(
'Default - H4' => '',
'H1' => 'h1',
'H2' => 'h2',
'H3' => 'h3',
'Div' => 'div'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
),
array(
"param_name" => "pinterest_id",
"type" => "textfield",
"value" => '',
"heading" => "pinterest_id/board_name",
"description" => 'Enter the pinterest board ID as it appears after the pinterest.com url ( <em>ex. http://www.pinterest.com/ username/board</em> and your board id will be <b>username/board</b> )',
"holder" => "div",
"class" => "",
'group' => 'Pinterest'
),
array(
"param_name" => "pinterest_header",
"type" => "dropdown",
"value" => array (
'On' => '',
'Off' => 'off'
),
"heading" => "Pinterest header",
"description" => 'Display or hide the Pinterest header section (default: On)',
"holder" => "div",
"class" => "tdc-dropdown-small",
'group' => 'Pinterest'
),
array(
"param_name" => "pins_limit",
"type" => "textfield",
"value" => '',
"heading" => "Board pins limit",
"description" => 'The Pinterest board block will display the first 25 board pins by default. This is also the maximum pins that can be displayed. You can set a limit below 25.',
"holder" => "div",
"class" => "tdc-textfield-small",
'group' => 'Pinterest'
),
array(
"param_name" => "pinterest_number_of_columns",
"type" => "dropdown",
"value" => array (
'- Default -' => '',
'1' => 1,
'2' => 2,
'3' => 3,
'4' => 4,
'5' => 5,
'6' => 6,
'7' => 7,
'8' => 8,
'9' => 9,
'10' => 10,
),
"heading" => 'Number of columns:',
"description" => 'Set on how many columns to display the board pins (default is 1)',
"holder" => "div",
"class" => "tdc-dropdown-big",
'group' => 'Pinterest'
),
array(
"param_name" => "pinterest_col_gap",
"type" => "dropdown",
"value" => array (
'No gap' => '',
'2 px' => 2,
'5 px' => 5,
'10 px' => 10,
),
"heading" => "Image gap",
"description" => 'Set a gap between images (default: No gap)',
"holder" => "div",
"class" => "tdc-dropdown-big",
'group' => 'Pinterest'
),
array(
"param_name" => "pinterest_board_height",
"type" => "textfield",
"value" => '',
"heading" => "Pinterest board height",
"description" => 'Enter the Pinterest board height in pixels ( ex. 400 ). Leave blank to display the board widget at full height!',
"holder" => "div",
"class" => "tdc-textfield-small",
'group' => 'Pinterest'
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Username color',
"param_name" => "username_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Board name color',
"param_name" => "board_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Followers count color',
"param_name" => "followers_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => ""
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_user', false, 'Username text' ),
td_config_helper::get_map_block_font_array( 'f_board', false, 'Board name text' ),
td_config_helper::get_map_block_font_array( 'f_followers', false, 'Followers count text' ),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array(
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_flickr',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Flickr',
"base" => "td_block_flickr",
"class" => "td_block_flickr",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td-flickr',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_flickr.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'el_class'
),
'tdc_start_values' => base64_encode(
json_encode(
array(
array(
"items_on_row" => "25%",
),
)
)
),
"params" => array_merge(
self::get_map_block_general_array(),
array(
array(
"param_name" => "title_tag",
"type" => "dropdown",
"value" => array(
'Default - H4' => '',
'H1' => 'h1',
'H2' => 'h2',
'H3' => 'h3',
'Div' => 'div'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Content',
"value" => "",
"class" => "",
),
array(
"param_name" => "source",
"type" => "dropdown",
"value" => array(
'Photo IDs' => 'photo_ids',
'User photostream' => 'user_id',
'User albums' => 'user_albums',
'Album ID' => 'album_id'
),
"heading" => "Source",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small"
),
array(
"param_name" => "photo_ids",
"type" => "textfield",
"value" => "",
"heading" => "List of flick photos id's separated by comma (ex: 25737689747, 17389487171, 20756817409, 6940287706):",
"description" => "",
"holder" => "div",
"class" => "",
),
array(
"param_name" => "user_id",
"type" => "textfield",
"value" => "",
"heading" => "User ID",
"description" => "<a href='https://www.webfx.com/tools/idgettr/' target='blank'>Obtain a user id</a>",
"holder" => "div",
"class" => "tdc-textfield-big",
),
array(
"param_name" => "album_id",
"type" => "textfield",
"value" => "",
"heading" => "Gallery ID",
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small"
),
array(
"param_name" => "limit",
"type" => "textfield",
"value" => "",
"heading" => "Limit",
"description" => "",
"holder" => "div",
"placeholder" => "0",
"class" => "tdc-textfield-small",
),
array(
"param_name" => "cache",
"type" => "dropdown",
"value" => array('ON' => '1', 'OFF' => '0'),
"heading" => "Cache ON / OFF:",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-small",
),
array(
"param_name" => "cache_timeout",
"type" => "dropdown",
"value" => array(
'1 hour' => 1 * HOUR_IN_SECONDS,
'3 hours' => '',
'6 hours' => 6 * HOUR_IN_SECONDS,
'9 hours' => 9 * HOUR_IN_SECONDS,
'12 hours' => 12 * HOUR_IN_SECONDS,
'1 day' => 1 * DAY_IN_SECONDS,
'3 days' => 3 * DAY_IN_SECONDS
),
"heading" => "Cache refresh",
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
array(
"param_name" => "items_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" => 'Photos per row',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-small",
"group" => "Layout",
),
array(
"param_name" => "items_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Photos gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
),
array(
"param_name" => "items_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Items bottom space',
"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" => "img_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Meta info',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "meta_info_align",
"type" => "dropdown-responsive",
"value" => array(
'Bottom' => 'bottom',
'Center' => 'center',
'Top' => 'top',
),
"heading" => 'Vertical align',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_vertical_align.png",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown-responsive",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Horiz. align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px 15px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
'param_name' => 'meta_travel',
'type' => 'range-responsive',
'value' => '15',
'heading' => 'Hover meta vert. travel',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "title",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "4",
"group" => "Layout",
),
array(
"param_name" => "show_no",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show photos number',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "show_views",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show views number',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
),
array(
"param_name" => "no_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Photos number right space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "16",
"group" => "Layout",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Colors',
"value" => "",
"class" => "",
"group" => "Style",
),
array(
"param_name" => "color_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Photo color overlay",
"value" => "",
"class" => "",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_image_overlay.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Meta info color',
"param_name" => "meta_color",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Meta info hover color',
"param_name" => "meta_color_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Modal',
"value" => "",
"class" => "",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Title text color',
"param_name" => "m_title_color",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "gradient",
"holder" => "div",
"class" => "",
"heading" => 'Overlay color',
"param_name" => "m_bg_color",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Close button color',
"param_name" => "m_close_color",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Images slider',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Active image border color',
"param_name" => "ms_border_color",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "gradient",
"holder" => "div",
"class" => "",
"heading" => 'Background color',
"param_name" => "ms_bg_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', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_title', false, 'Title text', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Meta info text', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_m_title', false, 'Modal title text', 'Style' ),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
$nav_menus = wp_get_nav_menus();
if (empty($nav_menus)) {
$td_block_list_menus = array('- No registered menu -' => '');
} else {
$td_block_list_menus = array('- Select menu -' => '');
foreach ( (array) $nav_menus as $_nav_menu ) {
$td_block_list_menus[esc_html(wp_html_excerpt( $_nav_menu->name, 40, '…' ))] = esc_attr( $_nav_menu->term_id );
}
}
td_api_block::add('td_block_list_menu',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'List Menu',
"base" => "td_block_list_menu",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td_block_list_menu',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_list_menu.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'menu_id',
'inline',
'depth',
'el_class'
),
'params' => array_merge(
td_config::get_map_block_general_array(),
array(
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'General',
"value" => "",
"class" => "",
),
array(
"param_name" => "menu_id",
"type" => "dropdown",
"value" => $td_block_list_menus,
"heading" => 'Use items from',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "inline",
"type" => "dropdown",
"value" => array(
'Vertically' => '',
'Vertically - Accordion' => 'accordion',
'Horizontally' => 'yes',
),
"heading" => 'Display list items',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big tdc-list-menu-display",
"toggle_enable_params" => "display"
),
array(
"param_name" => "depth",
"type" => "textfield",
"value" => '',
"heading" => 'Maximum menu depth',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small tdc-list-menu-depth",
"placeholder" => '0',
),
array(
"param_name" => "curr_submenu_open",
"type" => "checkbox",
"value" => '',
"heading" => "Open active menu item sub-menu on page load",
"description" => "",
"holder" => "div",
"class" => "",
"toggle_enabled_by" => "display--accordion"
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "item_horiz_align",
"type" => "dropdown-responsive",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Menu list horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Main menu',
"value" => "",
"class" => "",
),
array(
"param_name" => "list_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Menu list padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => '14px 0 14px 12px',
),
array(
"param_name" => "item_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Space between list elements',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '0',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-double-a",
"heading" => 'Text color',
"param_name" => "menu_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-double-b",
"heading" => 'Text hover & active color',
"param_name" => "menu_hover_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
),
),
td_config_helper::get_map_block_font_array( 'f_list', true, 'Menu text' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Sub menu icon',
"value" => "",
"class" => "tdc-separator-small",
"toggle_enabled_by" => "display--accordion"
),
array(
'param_name' => 'sub_tdicon',
'type' => 'icon',
'heading' => 'Sub menu icon',
'class' => 'tdc-textfield-small',
'value' => 'td-icon-down',
"toggle_enabled_by" => "display--accordion"
),
array(
"param_name" => "sub_ico_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '',
"toggle_enabled_by" => "display--accordion"
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-double-a",
"heading" => 'Icon color',
"param_name" => "sub_ico_color",
"value" => '',
"description" => '',
"group" => "",
"toggle_enabled_by" => "display--accordion"
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-double-b",
"heading" => 'Icon hover color',
"param_name" => "sub_ico_color_h",
"value" => '',
"description" => '',
"group" => "",
"toggle_enabled_by" => "display--accordion"
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Sub menus',
"value" => "",
"class" => "",
),
array(
"param_name" => "sub_indent",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Indent',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '22',
),
array(
"param_name" => "sub_padd",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => '',
),
array(
"param_name" => "sub_item_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Space between list elements',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-double-a",
"heading" => 'Text color',
"param_name" => "submenu_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-double-b",
"heading" => 'Text hover & active color',
"param_name" => "submenu_hover_color",
"value" => '',
"description" => '',
"group" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
),
),
td_config_helper::get_map_block_font_array( 'f_sublist', true, 'Submenu text' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Sub menu icon',
"value" => "",
"class" => "tdc-separator-small",
"toggle_enabled_by" => "display--accordion"
),
array(
'param_name' => 'sub_sub_tdicon',
'type' => 'icon',
'heading' => 'Sub menu icon',
'class' => 'tdc-textfield-small',
'value' => 'td-icon-down',
"toggle_enabled_by" => "display--accordion"
),
array(
"param_name" => "sub_sub_ico_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '',
"toggle_enabled_by" => "display--accordion"
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-double-a",
"heading" => 'Icon color',
"param_name" => "sub_sub_ico_color",
"value" => '',
"description" => '',
"group" => "",
"toggle_enabled_by" => "display--accordion"
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-double-b",
"heading" => 'Icon hover color',
"param_name" => "sub_sub_ico_color_h",
"value" => '',
"description" => '',
"group" => "",
"toggle_enabled_by" => "display--accordion"
),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_video_embed',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Video Embed',
"base" => "td_block_video_embed",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td_block_video_embed',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_video_embed.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'el_class'
),
'params' => array_merge(
td_config::get_map_block_general_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Video settings',
"value" => "",
"class" => "",
),
array(
"param_name" => "video_url",
"type" => "textfield",
"value" => "",
"heading" => "Video link (YouTube, Vimeo, DailyMotion or self-hosted)",
"description" => "",
"holder" => "div",
"class" => "",
),
array(
"param_name" => "controls",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Show controls",
"description" => "",
"holder" => "div",
"class" => "",
),
array(
"param_name" => "autoplay",
"type" => "checkbox",
"value" => '',
"heading" => "Autoplay",
"description" => "The video will play automatically, but without sound. However, the visitor can turn on the volume.",
"holder" => "div",
"class" => "",
),
array(
"param_name" => "loop",
"type" => "checkbox",
"value" => '',
"heading" => "Loop",
"description" => "",
"holder" => "div",
"class" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Fonts',
"value" => "",
"class" => "",
),
array (
'param_name' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_list', false, 'Menu text' )
)
)
);
td_api_block::add('td_block_covid_19_stats',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Covid-19 Statistics Table',
"base" => "td_block_covid_19_stats",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td_block_covid_19_stats',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_covid_19_stats.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'sort',
'order',
'el_class'
),
'tdc_start_values' => base64_encode(
json_encode(
array(
array(
'sort' => 'c',
'order' => 'descending'
),
)
)
),
'params' => array_merge(
td_config::get_map_block_general_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Layout',
"value" => "",
"class" => "",
),
array(
"param_name" => "covid-format",
"type" => "textfield",
"value" => '',
"heading" => 'Format',
"description" => "In any order, separated by space:<br>C - Country/Regions; c - Confirmed; d - Deaths<br/>r - Recovered a - Active cases",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => 'C c d r a',
),
array(
"param_name" => "sort",
"type" => "dropdown",
"value" => array(
'Country name' => 'C',
'Confirmed cases' => 'c',
'Deaths' => 'd',
'Recovered' => 'r',
'Active cases' => 'a',
),
"heading" => 'Sort by',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "",
),
array(
"param_name" => "order",
"type" => "dropdown",
"value" => array(
'Descending' => 'descending',
'Ascending' => 'ascending',
),
"heading" => 'Sort order',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "table_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Table height',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => 'auto',
),
array(
"param_name" => "col_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Collumns padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => '12px 16px',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "country_text",
"type" => "textfield",
"value" => '',
"heading" => 'Country/Region text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => 'Country/Region',
),
array(
"param_name" => "confirmed_text",
"type" => "textfield",
"value" => '',
"heading" => 'Confirmed cases text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => 'Confirmed cases',
),
array(
"param_name" => "deaths_text",
"type" => "textfield",
"value" => '',
"heading" => 'Deaths text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => 'Deaths',
),
array(
"param_name" => "recovered_text",
"type" => "textfield",
"value" => '',
"heading" => 'Recovered text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => 'Recovered',
),
array(
"param_name" => "active_text",
"type" => "textfield",
"value" => '',
"heading" => 'Active cases text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => 'Active cases',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "col_align_horizontal",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Column horiz. align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Last updated text color',
"param_name" => "date_color",
"value" => '',
"description" => '',
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Table',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style'
),
array(
"param_name" => "table_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '1',
"group" => 'Style'
),
array(
"param_name" => "table_border_style",
"type" => "dropdown-responsive",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "table_border_color",
"value" => '',
"description" => '',
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Header row',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Text color',
"param_name" => "row_h_text_color",
"value" => '',
"description" => '',
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Background color',
"param_name" => "row_h_bg",
"value" => '',
"description" => '',
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Rows',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Text color',
"param_name" => "row_text_color",
"value" => '',
"description" => '',
"group" => 'Style'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Background color',
"param_name" => "row_bg",
"value" => '',
"description" => '',
"group" => 'Style'
),
array(
"param_name" => "row_border",
"type" => "textfield",
"value" => '',
"heading" => 'Border size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '1',
"group" => 'Style'
),
array(
"param_name" => "row_border_style",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "row_border_color",
"value" => '',
"description" => '',
"group" => 'Style'
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Columns',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style'
),
array(
"param_name" => "col_border",
"type" => "textfield",
"value" => '',
"heading" => 'Border size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '1',
"group" => 'Style'
),
array(
"param_name" => "col_border_style",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Style",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "col_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_header', true, 'Block header', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_row_h', false, 'Row header text', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_row', false, 'Row text', 'Style' ),
td_config_helper::get_map_block_font_array( 'f_date', false, 'Last updated text', 'Style' ),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_covid_19_counter',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Covid-19 Statistic Counter',
"base" => "td_block_covid_19_counter",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td_block_covid_19_counter',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_covid_19_counter.php',
'tdc_style_params' => array(
'custom_title',
'custom_url',
'country',
'statistic',
'el_class'
),
'tdc_start_values' => base64_encode(
json_encode(
array(
array(
'content_align_horizontal' => 'content-horiz-center',
),
)
)
),
'params' => array_merge(
td_config::get_map_block_general_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Layout',
"value" => "",
"class" => "",
),
array(
"param_name" => "country",
"type" => "textfield",
"value" => '',
"heading" => 'Country',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => 'All',
),
array(
"param_name" => "statistic",
"type" => "dropdown",
"value" => array(
'Confirmed cases' => '',
'Deaths' => 'deaths',
'Recovered' => 'recovered',
'Active' => 'active',
),
"heading" => 'Statistic to display',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "all_countries_text",
"type" => "textfield",
"value" => '',
"heading" => 'All countries text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => 'All countries',
),
array(
"param_name" => "country_text",
"type" => "textfield",
"value" => '',
"heading" => 'Country text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => '',
),
array(
"param_name" => "confirmed_text",
"type" => "textfield",
"value" => '',
"heading" => 'Confirmed cases text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => 'Total confirmed cases',
),
array(
"param_name" => "deaths_text",
"type" => "textfield",
"value" => '',
"heading" => 'Death cases text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => 'Total deaths',
),
array(
"param_name" => "recovered_text",
"type" => "textfield",
"value" => '',
"heading" => 'Recovered cases text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => 'Total recovered',
),
array(
"param_name" => "active_text",
"type" => "textfield",
"value" => '',
"heading" => 'Active cases text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => 'Total active cases',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
),
array(
"param_name" => "display_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" => "counter_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Counter spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "15px 0 11px 0",
),
array(
"param_name" => "show_date",
"type" => "dropdown-responsive",
"value" => array(
'Hide' => 'none',
'Show' => 'block',
),
"heading" => 'Show last updated',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "date_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Last updated text space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "8",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Country name color',
"param_name" => "country_name_color",
"value" => '',
"description" => '',
"group" => ''
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Counter color',
"param_name" => "counter_color",
"value" => '',
"description" => '',
"group" => ''
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Statistic name color',
"param_name" => "statistic_color",
"value" => '',
"description" => '',
"group" => ''
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Last updated text color',
"param_name" => "date_color",
"value" => '',
"description" => '',
"group" => ''
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Fonts',
"value" => "",
"class" => "tdc-separator-small",
),
),
td_config_helper::get_map_block_font_array( 'f_header', true, 'Block header', '', '', '', 'https://cloud.tagdiv.com/help/module_font_block_header.png', '' ),
td_config_helper::get_map_block_font_array( 'f_country', false, 'Country name text' ),
td_config_helper::get_map_block_font_array( 'f_count', false, 'Counter text' ),
td_config_helper::get_map_block_font_array( 'f_stat', false, 'Statistic name text' ),
td_config_helper::get_map_block_font_array( 'f_date', false, 'Last updated text' ),
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' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
td_api_block::add('td_block_raw_css',
array(
'map_in_visual_composer' => true,
'map_in_td_composer' => true,
"name" => 'Raw CSS',
"base" => "td_block_raw_css",
"class" => "",
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Extended',
'icon' => 'icon-pagebuilder-td_block_raw_css',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_raw_css.php',
'tdc_style_params' => array(
'el_class'
),
'params' => array_merge(
array(
array(
"param_name" => "content",
"type" => "editor_css",
"holder" => "div",
'class' => '',
"heading" => 'Open CSS Editor',
"value" => base64_encode(__('//CSS code here! Replace this with any non empty css code and that\'s it', 'td_composer' ) ),
"description" => 'Enter your content.'
),
array(
'param_name' => 'el_class',
'type' => 'textfield',
'value' => '',
'heading' => 'Extra class',
'description' => 'Style particular content element differently - add a class name and refer to it in custom CSS',
'class' => 'tdc-textfield-extrabig',
),
array (
'param_name' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
)
)
)
);
// td_api_block::add('td_block_dark_mode',
// array(
// 'map_in_visual_composer' => true,
// 'map_in_td_composer' => true,
// "name" => 'Dark mode switch',
// "base" => "td_block_dark_mode",
// "class" => "td_block_dark_mode",
// "controls" => "full",
// "category" => 'Blocks',
// 'tdc_category' => 'Extended',
// 'icon' => 'icon-pagebuilder-categories',
// 'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_block_dark_mode.php',
// 'tdc_style_params' => array(
// 'inline',
// 'align_right',
// 'add_txt',
// 'dark_tdicon',
// 'light_tdicon',
// 'el_class'
// ),
// 'tdc_start_values' => base64_encode(
// json_encode(
// array(
// array(
// "dark_tdicon" => "td-icon-moon",
// "light_tdicon" => "td-icon-sun",
// )
// )
// )
// ),
// "params" => array_merge(
// array(
// array(
// "param_name" => "separator",
// "type" => "text_separator",
// 'heading' => 'Layout',
// "value" => "",
// "class" => "",
// ),
// array(
// "param_name" => "inline",
// "type" => "checkbox",
// "value" => '',
// "heading" => "Make inline",
// "description" => "",
// "holder" => "div",
// "class" => "",
// "group" => ''
// ),
// array(
// "param_name" => "align_right",
// "type" => "checkbox",
// "value" => '',
// "heading" => "Align to right",
// "description" => "",
// "holder" => "div",
// "class" => "",
// "group" => ''
// ),
// array(
// "param_name" => "horiz_align",
// "type" => "dropdown-responsive",
// "value" => array(
// 'Left' => 'content-horiz-left',
// 'Center' => 'content-horiz-center',
// 'Right' => 'content-horiz-right'
// ),
// "heading" => 'Horizontal align',
// "description" => "",
// "holder" => "div",
// 'tdc_dropdown_images' => true,
// "class" => "tdc-visual-selector tdc-add-class",
// "group" => "",
// ),
// array(
// "param_name" => "separator",
// "type" => "text_separator",
// 'heading' => 'Additional text',
// "value" => "",
// "class" => "tdc-separator-small",
// ),
// array(
// 'param_name' => 'add_txt',
// 'type' => 'textfield',
// 'value' => '',
// 'heading' => 'Text',
// 'description' => '',
// 'class' => 'tdc-textfield-big',
// ),
// array(
// "param_name" => "add_txt_pos",
// "type" => "dropdown",
// "value" => array(
// 'Before switch' => 'before',
// 'After switch' => 'after',
// ),
// "heading" => 'Position',
// "description" => "",
// "holder" => "div",
// "class" => "tdc-dropdown-big",
// "group" => "",
// ),
// array(
// 'param_name' => 'add_txt_space',
// 'type' => 'textfield-responsive',
// 'value' => '',
// 'heading' => 'Space',
// 'description' => '',
// 'class' => 'tdc-textfield-small',
// 'placeholder' => '5'
// ),
// array(
// "param_name" => "separator",
// "type" => "text_separator",
// 'heading' => 'Switch',
// "value" => "",
// "class" => "tdc-separator-small",
// ),
// array(
// 'param_name' => 'sw_border',
// 'type' => 'textfield-responsive',
// 'value' => '',
// 'heading' => 'Border size',
// 'description' => '',
// 'class' => 'tdc-textfield-small',
// 'placeholder' => '0'
// ),
// array(
// "param_name" => "sw_border_style",
// "type" => "dropdown-responsive",
// "value" => array(
// 'Solid' => 'solid',
// 'Dotted' => 'dotted',
// 'Dashed' => 'dashed',
// ),
// "heading" => 'Border style',
// "description" => "",
// "holder" => "div",
// "class" => "tdc-dropdown-big",
// "group" => "",
// ),
// array(
// 'param_name' => 'sw_border_radius',
// 'type' => 'textfield-responsive',
// 'value' => '',
// 'heading' => 'Border radius',
// 'description' => '',
// 'class' => 'tdc-textfield-small',
// 'placeholder' => '100'
// ),
// array(
// "param_name" => "separator",
// "type" => "horizontal_separator",
// "value" => "",
// "class" => "tdc-separator-small",
// ),
// array(
// 'param_name' => 'dark_tdicon',
// 'type' => 'icon',
// 'heading' => 'Dark version icon',
// 'class' => 'tdc-textfield-small',
// 'value' => '',
// "group" => ''
// ),
// array(
// 'param_name' => 'light_tdicon',
// 'type' => 'icon',
// 'heading' => 'Light version icon',
// 'class' => 'tdc-textfield-small',
// 'value' => '',
// "group" => ''
// ),
// array(
// 'param_name' => 'ico_size',
// 'type' => 'textfield-responsive',
// 'value' => '',
// 'heading' => 'Icons size',
// 'description' => '',
// 'class' => 'tdc-textfield-small',
// 'placeholder' => '14'
// ),
// array(
// 'param_name' => 'ico_border',
// 'type' => 'textfield-responsive',
// 'value' => '',
// 'heading' => 'Border size',
// 'description' => '',
// 'class' => 'tdc-textfield-small',
// 'placeholder' => '0'
// ),
// array(
// "param_name" => "ico_border_style",
// "type" => "dropdown-responsive",
// "value" => array(
// 'Solid' => 'solid',
// 'Dotted' => 'dotted',
// 'Dashed' => 'dashed',
// ),
// "heading" => 'Border style',
// "description" => "",
// "holder" => "div",
// "class" => "tdc-dropdown-big",
// "group" => "",
// ),
// array(
// 'param_name' => 'ico_border_radius',
// 'type' => 'textfield-responsive',
// 'value' => '',
// 'heading' => 'Border radius',
// 'description' => '',
// 'class' => 'tdc-textfield-small',
// 'placeholder' => '100%'
// ),
//
// array(
// "param_name" => "separator",
// "type" => "text_separator",
// 'heading' => 'Style',
// "value" => "",
// "class" => "",
// ),
// array(
// "param_name" => "separator",
// "type" => "text_separator",
// 'heading' => 'Additional text',
// "value" => "",
// "class" => "tdc-separator-small",
// ),
// array(
// "type" => "colorpicker",
// "holder" => "div",
// "class" => "",
// "heading" => 'Color',
// "param_name" => "add_txt_color",
// "value" => '',
// "description" => '',
// "group" => "",
// ),
// ),
// td_config_helper::get_map_block_font_array( 'f_attr', true, 'Attribute text' ),
// array(
// array(
// "param_name" => "separator",
// "type" => "text_separator",
// 'heading' => 'Switch',
// "value" => "",
// "class" => "tdc-separator-small",
// ),
// array(
// "type" => "colorpicker",
// "holder" => "div",
// "class" => "tdc-colorpicker-double-a",
// "heading" => 'Background color',
// "param_name" => "switch_bg",
// "value" => '',
// "description" => '',
// "group" => "",
// ),
// array(
// "type" => "colorpicker",
// "holder" => "div",
// "class" => "tdc-colorpicker-double-b",
// "heading" => 'Background active color',
// "param_name" => "switch_bg_a",
// "value" => '',
// "description" => '',
// "group" => "",
// ),
// array(
// "type" => "colorpicker",
// "holder" => "div",
// "class" => "tdc-colorpicker-double-a",
// "heading" => 'Border color',
// "param_name" => "switch_border_col",
// "value" => '',
// "description" => '',
// "group" => "",
// ),
// array(
// "type" => "colorpicker",
// "holder" => "div",
// "class" => "tdc-colorpicker-double-b",
// "heading" => 'Border active color',
// "param_name" => "switch_border_col_a",
// "value" => '',
// "description" => '',
// "group" => "",
// ),
// array(
// "param_name" => "separator",
// "type" => "horizontal_separator",
// "value" => "",
// "class" => "tdc-separator-small",
// ),
// array(
// "type" => "colorpicker",
// "holder" => "div",
// "class" => "tdc-colorpicker-double-a",
// "heading" => 'Icons color',
// "param_name" => "ico_color",
// "value" => '',
// "description" => '',
// "group" => "",
// ),
// array(
// "type" => "colorpicker",
// "holder" => "div",
// "class" => "tdc-colorpicker-double-b",
// "heading" => 'Icons active color',
// "param_name" => "ico_color_a",
// "value" => '',
// "description" => '',
// "group" => "",
// ),
// array(
// "type" => "colorpicker",
// "holder" => "div",
// "class" => "tdc-colorpicker-double-a",
// "heading" => 'Icons background color',
// "param_name" => "ico_bg",
// "value" => '',
// "description" => '',
// "group" => "",
// ),
// array(
// "type" => "colorpicker",
// "holder" => "div",
// "class" => "tdc-colorpicker-double-b",
// "heading" => 'Icons background active color',
// "param_name" => "ico_bg_a",
// "value" => '',
// "description" => '',
// "group" => "",
// ),
// array(
// "type" => "colorpicker",
// "holder" => "div",
// "class" => "tdc-colorpicker-double-a",
// "heading" => 'Icons border color',
// "param_name" => "ico_border_col",
// "value" => '',
// "description" => '',
// "group" => "",
// ),
// array(
// "type" => "colorpicker",
// "holder" => "div",
// "class" => "tdc-colorpicker-double-b",
// "heading" => 'Icons border active color',
// "param_name" => "ico_border_col_a",
// "value" => '',
// "description" => '',
// "group" => "",
// ),
// ),
// td_config_helper::get_map_block_shadow_array('ico_shadow', 'Icons shadow', 3, 0, 1 ),
// 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' => 'css',
// 'value' => '',
// 'type' => 'css_editor',
// 'heading' => 'Css',
// 'group' => 'Design options',
// ),
// array (
// 'param_name' => 'tdc_css',
// 'value' => '',
// 'type' => 'tdc_css_editor',
// 'heading' => '',
// 'group' => 'Design options',
// ),
// )
// )
// )
// );
/**
* the thumbs used by the theme
* Thumb id => array parameters. Wp booster only cuts if the option is set from theme panel
*/
td_api_thumb::add('td_150x0',
array(
'name' => 'td_150x0',
'width' => 150,
'height' => 0,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Flex blocks 1, 2, 3, 4, 5'
),
'no_image_path' => TDC_URL_LEGACY . '/assets',
'b64_encoded' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAB4AQMAAAAqgZlTAAAAA1BMVEWurq51dlI4AAAAAXRSTlMmkutdmwAAABlJREFUSMftwTEBAAAAwiD7p7bETmAAAKQOCWAAAaG6mx4AAAAASUVORK5CYII=',
)
);
td_api_thumb::add('td_218x150',
array(
'name' => 'td_218x150',
'width' => 218,
'height' => 150,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Module 10, MX4, MX7, MX13, Mega menu, Related posts',
'Block 11, 15, 16, 18',
'Big grid 6'
),
'no_image_path' => TDC_URL_LEGACY . '/assets',
'b64_encoded' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANoAAACWAQMAAACCSQSPAAAAA1BMVEWurq51dlI4AAAAAXRSTlMmkutdmwAAABpJREFUWMPtwQENAAAAwiD7p7bHBwwAAAAg7RD+AAGXD7BoAAAAAElFTkSuQmCC',
)
);
td_api_thumb::add('td_300x0',
array(
'name' => 'td_300x0',
'width' => 300,
'height' => 0,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Flex blocks 1, 2, 3, 4, 5'
),
'no_image_path' => TDC_URL_LEGACY . '/assets',
'b64_encoded' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAADIAQMAAABoEU4WAAAAA1BMVEWurq51dlI4AAAAAXRSTlMmkutdmwAAAB5JREFUWMPtwTEBAAAAwiD7pzbEXmAAAAAAAAAAEBweeAABBpYptwAAAABJRU5ErkJggg==',
)
);
td_api_thumb::add('td_324x400',
array(
'name' => 'td_324x400',
'width' => 324,
'height' => 400,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Slide - 1 column',
'Flex Block 1'
),
'no_image_path' => TDC_URL_LEGACY . '/assets',
'b64_encoded' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUQAAAGQAQMAAADsi4u8AAAAA1BMVEWurq51dlI4AAAAAXRSTlMmkutdmwAAACdJREFUeNrtwYEAAAAAw6D7U99gBNUAAAAAAAAAAAAAAAAAAAAASAdBoAABzZKptAAAAABJRU5ErkJggg==',
)
);
td_api_thumb::add('td_485x360',
array(
'name' => 'td_485x360',
'width' => 485,
'height' => 360,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'small',
'used_on' => array(
'Module MX24, MX25',
'Big grid full 7, 8, 9, 10'
),
'no_image_path' => TDC_URL_LEGACY . '/assets',
'b64_encoded' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeUAAAFoAQMAAABT0HEnAAAAA1BMVEWurq51dlI4AAAAAXRSTlMmkutdmwAAACxJREFUeNrtwTEBAAAAwiD7p7bGDmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQcFcwAAFIn2pxAAAAAElFTkSuQmCC',
)
);
td_api_thumb::add('td_696x0',
array(
'name' => 'td_696x0',
'width' => 696,
'height' => 0,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Default post template,
Post template 2, 11',
'Module 12, 13, 15, MX20, MX22, MX23',
'Big grid full 3, 6, 7',
'Smart list style 1, 2, 5, 6, 7, 8',
'Flex Block 1'
),
'no_image_path' => TDC_URL_LEGACY . '/assets',
'b64_encoded' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArgAAAG0AQMAAADjJMaKAAAAA1BMVEWurq51dlI4AAAAAXRSTlMmkutdmwAAADxJREFUeNrtwQENAAAAwiD7pzbHN2AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUQeV4AAB10TPnAAAAABJRU5ErkJggg==',
)
);
td_api_thumb::add('td_1068x0',
array(
'name' => 'td_1068x0',
'width' => 1068,
'height' => 0,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Post template 3, 4, 9, 10',
'Smart list style 1, 2, 5, 6, 7, 8',
'Module MX19',
'Big grid full 2, 8, 9, 10',
'Flex Block 1'
),
'no_image_path' => TDC_URL_LEGACY . '/assets',
'b64_encoded' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABCwAAAJEAQMAAADnqyfeAAAAA1BMVEWurq51dlI4AAAAAXRSTlMmkutdmwAAAG9JREFUeNrswYEAAAAAgKD9qRepAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADg9uCQAAAAAEDQ/9fOsAAAAAAAAAAAAAAAAAAAAAAAsAox6wABwRHV3QAAAABJRU5ErkJggg==',
)
);
td_api_thumb::add('td_1920x0',
array(
'name' => 'td_1920x0',
'width' => 1920,
'height' => 0,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Module MX18',
'Big grid full 1, 6',
'Flex Block 1'
),
'no_image_path' => TDC_URL_LEGACY . '/assets',
'b64_encoded' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAIwAQMAAABdnuRXAAAAA1BMVEWurq51dlI4AAAAAXRSTlMmkutdmwAAALJJREFUeNrswYEAAAAAgKD9qRepAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABg9uBAAAAAAADI/7URVFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWlPTgQAAAAABDkbz3BBhUAAAAAAAAAAAAAAAArD04AAVCiTaUAAAAASUVORK5CYII=',
)
);
/**
* social sharing styles
*/
td_api_social_sharing_styles::add('style1', array (
'wrap_classes' => 'td-ps-bg td-ps-notext',
'text' => 'Style 1',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-1.png'
));
td_api_social_sharing_styles::add('style2', array (
'wrap_classes' => 'td-ps-bg td-ps-padding',
'text' => 'Style 2',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-2.png'
));
td_api_social_sharing_styles::add('style3', array (
'wrap_classes' => 'td-ps-bg td-ps-notext td-ps-rounded',
'text' => 'Style 3',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-3.png'
));
td_api_social_sharing_styles::add('style4', array (
'wrap_classes' => 'td-ps-bg td-ps-padding td-ps-rounded',
'text' => 'Style 4',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-4.png'
));
td_api_social_sharing_styles::add('style5', array (
'wrap_classes' => 'td-ps-bg td-ps-notext td-ps-bar',
'text' => 'Style 5',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-5.png'
));
td_api_social_sharing_styles::add('style6', array (
'wrap_classes' => 'td-ps-bg td-ps-padding td-ps-bar',
'text' => 'Style 6',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-6.png'
));
td_api_social_sharing_styles::add('style7', array (
'wrap_classes' => 'td-ps-bg td-ps-padding',
'text' => 'Style 7',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-7.png'
));
td_api_social_sharing_styles::add('style8', array (
'wrap_classes' => 'td-ps-bg td-ps-notext td-ps-big',
'text' => 'Style 8',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-8.png'
));
td_api_social_sharing_styles::add('style9', array (
'wrap_classes' => 'td-ps-bg td-ps-padding td-ps-big',
'text' => 'Style 9',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-9.png'
));
td_api_social_sharing_styles::add('style10', array (
'wrap_classes' => 'td-ps-bg td-ps-notext td-ps-big td-ps-bar',
'text' => 'Style 10',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-10.png'
));
td_api_social_sharing_styles::add('style11', array (
'wrap_classes' => 'td-ps-bg td-ps-padding td-ps-big td-ps-bar',
'text' => 'Style 11',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-11.png'
));
td_api_social_sharing_styles::add('style12', array (
'wrap_classes' => 'td-ps-bg td-ps-notext td-ps-big td-ps-nogap',
'text' => 'Style 12',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-12.png'
));
td_api_social_sharing_styles::add('style13', array (
'wrap_classes' => 'td-ps-bg td-ps-padding td-ps-big td-ps-nogap',
'text' => 'Style 13',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-13.png'
));
td_api_social_sharing_styles::add('style14', array (
'wrap_classes' => 'td-ps-dark-bg td-ps-notext',
'text' => 'Style 14',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-14.png'
));
td_api_social_sharing_styles::add('style15', array (
'wrap_classes' => 'td-ps-dark-bg td-ps-padding',
'text' => 'Style 15',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-15.png'
));
td_api_social_sharing_styles::add('style16', array (
'wrap_classes' => 'td-ps-border td-ps-border-grey td-ps-notext td-ps-icon-color td-ps-text-color',
'text' => 'Style 16',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-16.png'
));
td_api_social_sharing_styles::add('style17', array (
'wrap_classes' => 'td-ps-border td-ps-border-grey td-ps-padding td-ps-icon-color td-ps-text-color',
'text' => 'Style 17',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-17.png'
));
td_api_social_sharing_styles::add('style18', array (
'wrap_classes' => 'td-ps-border td-ps-border-grey td-ps-rounded td-ps-padding td-ps-icon-color',
'text' => 'Style 18',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-18.png'
));
td_api_social_sharing_styles::add('style19', array (
'wrap_classes' => 'td-ps-border td-ps-border-grey td-ps-icon-arrow td-ps-icon-bg td-ps-text-color',
'text' => 'Style 19',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-19.png'
));
td_api_social_sharing_styles::add('style20', array (
'wrap_classes' => 'td-ps-border td-ps-border-colored td-ps-icon-bg td-ps-text-color',
'text' => 'Style 20',
'img' => TDC_URL_LEGACY . '/assets/images/panel/post_sharing_styles/icon-post-sharing-20.png'
));
/**
* the tiny mce styles
*/
// paddings
td_api_tinymce_formats::add('td_tinymce_item_1',
array(
'title' => 'Text padding'
));
td_api_tinymce_formats::add('td_tinymce_item_1_1',
array(
'parent_id' => 'td_tinymce_item_1',
'title' => 'text ⇠',
'block' => 'div',
'classes' => 'td-paragraph-padding-0',
'wrapper' => true,
));
td_api_tinymce_formats::add('td_tinymce_item_1_2',
array(
'parent_id' => 'td_tinymce_item_1',
'title' => '⇢ text',
'block' => 'div',
'classes' => 'td-paragraph-padding-4',
'wrapper' => true,
));
td_api_tinymce_formats::add('td_tinymce_item_1_3',
array(
'parent_id' => 'td_tinymce_item_1',
'title' => '⇢ text ⇠',
'block' => 'div',
'classes' => 'td-paragraph-padding-1',
'wrapper' => true,
));
td_api_tinymce_formats::add('td_tinymce_item_1_4',
array(
'parent_id' => 'td_tinymce_item_1',
'title' => '⇢ text ⇠⇠',
'block' => 'div',
'classes' => 'td-paragraph-padding-3',
'wrapper' => true,
));
td_api_tinymce_formats::add('td_tinymce_item_1_5',
array(
'parent_id' => 'td_tinymce_item_1',
'title' => '⇢⇢ text ⇠',
'block' => 'div',
'classes' => 'td-paragraph-padding-6',
'wrapper' => true,
));
td_api_tinymce_formats::add('td_tinymce_item_1_6',
array(
'parent_id' => 'td_tinymce_item_1',
'title' => '⇢⇢ text ⇠⇠',
'block' => 'div',
'classes' => 'td-paragraph-padding-2',
'wrapper' => true,
));
td_api_tinymce_formats::add('td_tinymce_item_1_7',
array(
'parent_id' => 'td_tinymce_item_1',
'title' => '⇢⇢⇢ text ⇠⇠⇠',
'block' => 'div',
'classes' => 'td-paragraph-padding-5',
'wrapper' => true,
));
// arrow list
td_api_tinymce_formats::add('td_tinymce_item_3',
array(
'title' => 'Arrow list',
'selector' => 'ul',
'classes' => 'td-arrow-list'
));
// blockquote
td_api_tinymce_formats::add('td_blockquote',
array(
'title' => 'Quotes'
));
td_api_tinymce_formats::add('td_blockquote_1',
array(
'parent_id' => 'td_blockquote',
'title' => 'Quote left',
'block' => 'blockquote',
'classes' => 'td_quote td_quote_left',
'wrapper' => true,
));
td_api_tinymce_formats::add('td_blockquote_2',
array(
'parent_id' => 'td_blockquote',
'title' => 'Quote right',
'block' => 'blockquote',
'classes' => 'td_quote td_quote_right',
'wrapper' => true,
));
td_api_tinymce_formats::add('td_blockquote_3',
array(
'parent_id' => 'td_blockquote',
'title' => 'Quote box center',
'block' => 'blockquote',
'classes' => 'td_quote_box td_box_center',
'wrapper' => true,
));
td_api_tinymce_formats::add('td_blockquote_4',
array(
'parent_id' => 'td_blockquote',
'title' => 'Quote box left',
'block' => 'blockquote',
'classes' => 'td_quote_box td_box_left',
'wrapper' => true,
));
td_api_tinymce_formats::add('td_blockquote_5',
array(
'parent_id' => 'td_blockquote',
'title' => 'Quote box right',
'block' => 'blockquote',
'classes' => 'td_quote_box td_box_right',
'wrapper' => true,
));
td_api_tinymce_formats::add('td_blockquote_6',
array(
'parent_id' => 'td_blockquote',
'title' => 'Pull quote center',
'block' => 'blockquote',
'classes' => 'td_pull_quote td_pull_center',
'wrapper' => true,
));
td_api_tinymce_formats::add('td_blockquote_7',
array(
'parent_id' => 'td_blockquote',
'title' => 'Pull quote left',
'block' => 'blockquote',
'classes' => 'td_pull_quote td_pull_left',
'wrapper' => true,
));
td_api_tinymce_formats::add('td_blockquote_8',
array(
'parent_id' => 'td_blockquote',
'title' => 'Pull quote right',
'block' => 'blockquote',
'classes' => 'td_pull_quote td_pull_right',
'wrapper' => true,
));
// two columns text
td_api_tinymce_formats::add('td_text_columns',
array(
'title' => 'Text columns'
));
td_api_tinymce_formats::add('td_text_columns_0',
array(
'parent_id' => 'td_text_columns',
'title' => 'two columns',
'block' => 'div',
'classes' => 'td_text_columns_two_cols',
'wrapper' => true,
));
// dropcap
td_api_tinymce_formats::add('td_dropcap',
array(
'title' => 'Dropcaps'
));
td_api_tinymce_formats::add('td_dropcap_0',
array(
'parent_id' => 'td_dropcap',
'title' => 'Box',
'classes' => 'dropcap',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_dropcap_1',
array(
'parent_id' => 'td_dropcap',
'title' => 'Circle',
'classes' => 'dropcap dropcap1',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_dropcap_2',
array(
'parent_id' => 'td_dropcap',
'title' => 'Regular',
'classes' => 'dropcap dropcap2',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_dropcap_3',
array(
'parent_id' => 'td_dropcap',
'title' => 'Bold',
'classes' => 'dropcap dropcap3',
'inline' => 'span'
));
// Custom buttons in post Formats
td_api_tinymce_formats::add('td_btn',
array(
'title' => 'Button'
));
//Default button
td_api_tinymce_formats::add('td_default_btn',
array(
'parent_id' => 'td_btn',
'title' => 'Default',
'classes' => ' td_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_default_btn_sm',
array(
'parent_id' => 'td_default_btn',
'title' => 'Default - Small',
'classes' => 'td_btn td_btn_sm td_default_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_default_btn_md',
array(
'parent_id' => 'td_default_btn',
'title' => 'Default - Normal',
'classes' => 'td_btn td_btn_md td_default_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_default_btn_lg',
array(
'parent_id' => 'td_default_btn',
'title' => 'Default - Large',
'classes' => 'td_btn td_btn_lg td_default_btn',
'inline' => 'span'
));
//Round button
td_api_tinymce_formats::add('td_round_btn',
array(
'parent_id' => 'td_btn',
'title' => 'Round',
'classes' => 'td_round_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_round_btn_sm',
array(
'parent_id' => 'td_round_btn',
'title' => 'Round - Small',
'classes' => 'td_btn td_btn_sm td_round_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_round_btn_md',
array(
'parent_id' => 'td_round_btn',
'title' => 'Round - Normal',
'classes' => 'td_btn td_btn_md td_round_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_round_btn_lg',
array(
'parent_id' => 'td_round_btn',
'title' => 'Round - Large',
'classes' => 'td_btn td_btn_lg td_round_btn',
'inline' => 'span'
));
//Outlined button
td_api_tinymce_formats::add('td_outlined_btn',
array(
'parent_id' => 'td_btn',
'title' => 'Outlined',
'classes' => 'td_outlined_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_outlined_btn_sm',
array(
'parent_id' => 'td_outlined_btn',
'title' => 'Outlined - Small',
'classes' => 'td_btn td_btn_sm td_outlined_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_outlined_btn_md',
array(
'parent_id' => 'td_outlined_btn',
'title' => 'Outlined - Normal',
'classes' => 'td_btn td_btn_md td_outlined_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_outlined_btn_lg',
array(
'parent_id' => 'td_outlined_btn',
'title' => 'Outlined - Large',
'classes' => 'td_btn td_btn_lg td_outlined_btn',
'inline' => 'span'
));
//Shadow button
td_api_tinymce_formats::add('td_shadow_btn',
array(
'parent_id' => 'td_btn',
'title' => 'Shadow',
'classes' => 'td_shadow_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_shadow_btn_sm',
array(
'parent_id' => 'td_shadow_btn',
'title' => 'Shadow - Small',
'classes' => 'td_btn td_btn_sm td_shadow_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_shadow_btn_md',
array(
'parent_id' => 'td_shadow_btn',
'title' => 'Shadow - Normal',
'classes' => 'td_btn td_btn_md td_shadow_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_shadow_btn_lg',
array(
'parent_id' => 'td_shadow_btn',
'title' => 'Shadow - Large',
'classes' => 'td_btn td_btn_lg td_shadow_btn',
'inline' => 'span'
));
//3D button
td_api_tinymce_formats::add('td_3D_btn',
array(
'parent_id' => 'td_btn',
'title' => '3D',
'classes' => 'td_3D_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_3D_btn_sm',
array(
'parent_id' => 'td_3D_btn',
'title' => '3D - Small',
'classes' => 'td_btn td_btn_sm td_3D_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_3D_btn_md',
array(
'parent_id' => 'td_3D_btn',
'title' => '3D - Normal',
'classes' => 'td_btn td_btn_md td_3D_btn',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_3D_btn_lg',
array(
'parent_id' => 'td_3D_btn',
'title' => '3D - Large',
'classes' => 'td_btn td_btn_lg td_3D_btn',
'inline' => 'span'
));
// highlighter
td_api_tinymce_formats::add('td_text_highlight',
array(
'title' => 'Text highlighting'
));
td_api_tinymce_formats::add('td_text_highlight_0',
array(
'parent_id' => 'td_text_highlight',
'title' => 'Black censured',
'classes' => 'td_text_highlight_0',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_text_highlight_red',
array(
'parent_id' => 'td_text_highlight',
'title' => 'Red marker',
'classes' => 'td_text_highlight_marker_red td_text_highlight_marker',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_text_highlight_blue',
array(
'parent_id' => 'td_text_highlight',
'title' => 'Blue marker',
'classes' => 'td_text_highlight_marker_blue td_text_highlight_marker',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_text_highlight_green',
array(
'parent_id' => 'td_text_highlight',
'title' => 'Green marker',
'classes' => 'td_text_highlight_marker_green td_text_highlight_marker',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_text_highlight_yellow',
array(
'parent_id' => 'td_text_highlight',
'title' => 'Yellow marker',
'classes' => 'td_text_highlight_marker_yellow td_text_highlight_marker',
'inline' => 'span'
));
td_api_tinymce_formats::add('td_text_highlight_pink',
array(
'parent_id' => 'td_text_highlight',
'title' => 'Pink marker',
'classes' => 'td_text_highlight_marker_pink td_text_highlight_marker',
'inline' => 'span'
));
// clear elements
td_api_tinymce_formats::add('td_clear_elements',
array(
'title' => 'Clear element',
'selector' => 'a,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img,code,blockquote',
'styles' => array(
'clear' => 'both'
)
));
$ad_desc = 'Paste your ad code here. Google AdSense will be made responsive automatically. <br><br> To add non AdSense responsive ads, <br> <a target="_blank" href="http://forum.tagdiv.com/using-other-ads/">click here</a> (last paragraph)';
if ('enabled' === td_util::get_option('tds_white_label')) {
$ad_desc = 'Paste your ad code here. Google AdSense will be made responsive automatically.';
}
/**
* ad areas
*/
td_api_ad::add('header',
array(
'text' => 'Header ad',
'ad_type' => 'ajax',
'fields' => array(
'ad_field_code' => array(
'title' => 'YOUR HEADER AD',
'desc' => $ad_desc
),
'ad_field_phone' => array(
'desc' => '',
),
'ad_field_position_content' => false,
'ad_field_after_paragraph' => false,0
)
)
);
td_api_ad::add('sidebar',
array(
'text' => 'Sidebar ad',
'ad_type' => 'ajax',
'fields' => array(
'ad_field_notice' => 'To show the ads on the sidebar, please drag the "Ad box" widget to the desired sidebar.',
'ad_field_code' => array(
'title' => 'YOUR SIDEBAR AD',
'desc' => $ad_desc
),
'ad_field_title' => false,
'ad_field_position_content' => false,
'ad_field_after_paragraph' => false,
)
)
);
td_api_ad::add('content_top',
array(
'text' => 'Article top ad',
'ad_type' => 'ajax',
'fields' => array(
'ad_field_code' => array(
'title' => 'YOUR ARTICLE TOP AD',
'desc' => $ad_desc
),
'ad_field_position_content' => false,
'ad_field_after_paragraph' => false,
)
)
);
td_api_ad::add('content_inline',
array(
'text' => 'Article inline ad',
'ad_type' => 'ajax',
'fields' => array(
'ad_field_code' => array(
'title' => 'YOUR ARTICLE INLINE AD',
'desc' => $ad_desc
),
)
)
);
td_api_ad::add('content_bottom',
array(
'text' => 'Article bottom ad',
'ad_type' => 'ajax',
'fields' => array(
'ad_field_code' => array(
'title' => 'YOUR ARTICLE BOTTOM AD',
'desc' => $ad_desc
),
'ad_field_position_content' => false,
'ad_field_after_paragraph' => false,
)
)
);
td_api_ad::add('custom_ad_1',
array(
'text' => 'Custom ad 1',
'ad_type' => 'ajax',
'fields' => array(
'ad_field_title' => false,
'ad_field_position_content' => false,
'ad_field_after_paragraph' => false,
),
)
);
td_api_ad::add('custom_ad_2',
array(
'text' => 'Custom ad 2',
'ad_type' => 'ajax',
'fields' => array(
'ad_field_title' => false,
'ad_field_position_content' => false,
'ad_field_after_paragraph' => false,
),
)
);
td_api_ad::add('custom_ad_3',
array(
'text' => 'Custom ad 3',
'ad_type' => 'ajax',
'fields' => array(
'ad_field_title' => false,
'ad_field_position_content' => false,
'ad_field_after_paragraph' => false,
),
)
);
td_api_ad::add('custom_ad_4',
array(
'text' => 'Custom ad 4',
'ad_type' => 'ajax',
'fields' => array(
'ad_field_title' => false,
'ad_field_position_content' => false,
'ad_field_after_paragraph' => false,
),
)
);
td_api_ad::add('custom_ad_5',
array(
'text' => 'Custom ad 5',
'ad_type' => 'ajax',
'fields' => array(
'ad_field_title' => false,
'ad_field_position_content' => false,
'ad_field_after_paragraph' => false,
),
)
);
/**
* smart lists
*/
td_api_smart_list::add('td_smart_list_1',
array(
'file' => TDC_PATH_LEGACY . '/includes/smart_lists/td_smart_list_1.php',
'text' => 'Smart list 1',
'img' => TDC_URL_LEGACY . '/assets/images/panel/smart_lists/td_smart_list_1.png',
'extract_first_image' => true,
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
td_api_smart_list::add('td_smart_list_2',
array(
'file' => TDC_PATH_LEGACY . '/includes/smart_lists/td_smart_list_2.php',
'text' => 'Smart list 2',
'img' => TDC_URL_LEGACY . '/assets/images/panel/smart_lists/td_smart_list_2.png',
'extract_first_image' => true,
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
td_api_smart_list::add('td_smart_list_3',
array(
'file' => TDC_PATH_LEGACY . '/includes/smart_lists/td_smart_list_3.php',
'text' => 'Smart list 3',
'img' => TDC_URL_LEGACY . '/assets/images/panel/smart_lists/td_smart_list_3.png',
'extract_first_image' => true,
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
td_api_smart_list::add('td_smart_list_4',
array(
'file' => TDC_PATH_LEGACY . '/includes/smart_lists/td_smart_list_4.php',
'text' => 'Smart list 4',
'img' => TDC_URL_LEGACY . '/assets/images/panel/smart_lists/td_smart_list_4.png',
'extract_first_image' => true,
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
td_api_smart_list::add('td_smart_list_5',
array(
'file' => TDC_PATH_LEGACY . '/includes/smart_lists/td_smart_list_5.php',
'text' => 'Smart list 5',
'img' => TDC_URL_LEGACY . '/assets/images/panel/smart_lists/td_smart_list_5.png',
'extract_first_image' => true,
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
td_api_smart_list::add('td_smart_list_6',
array(
'file' => TDC_PATH_LEGACY . '/includes/smart_lists/td_smart_list_6.php',
'text' => 'Smart list 6',
'img' => TDC_URL_LEGACY . '/assets/images/panel/smart_lists/td_smart_list_6.png',
'extract_first_image' => true,
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
td_api_smart_list::add('td_smart_list_7',
array(
'file' => TDC_PATH_LEGACY . '/includes/smart_lists/td_smart_list_7.php',
'text' => 'Smart list 7',
'img' => TDC_URL_LEGACY . '/assets/images/panel/smart_lists/td_smart_list_7.png',
'extract_first_image' => true,
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
td_api_smart_list::add('td_smart_list_8',
array(
'file' => TDC_PATH_LEGACY . '/includes/smart_lists/td_smart_list_8.php',
'text' => 'Smart list 8',
'img' => TDC_URL_LEGACY . '/assets/images/panel/smart_lists/td_smart_list_8.png',
'extract_first_image' => false,
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
/**
* The typography settings for the panel and css compiler
*/
td_global::$typography_settings_list = array (
'General' => array (
'body_text' => array(
'text' => 'Body - General font',
'type' => 'default',
),
'login_general' => array(
'text' => 'Sign in/Join modal',
'type' => 'general_setting',
),
),
'Header' => array (
'show_only_on_tdsp' => true,
'top_menu' => array(
'text' => 'Top Menu',
'type' => 'default',
),
'top_sub_menu' => array(
'text' => 'Top Sub-Menu',
'type' => 'default',
),
'main_menu' => array(
'text' => 'Main Menu',
'type' => 'default',
),
'main_sub_menu' => array(
'text' => 'Main Sub-Menu',
'type' => 'default',
),
'mega_menu' => array(
'text' => 'Mega Menu',
'type' => 'default',
'show_only_on_tdsp' => true,
),
'mega_menu_categ' => array(
'text' => 'Mega Menu Sub-Categories',
'type' => 'default',
),
'text_logo' => array(
'text' => 'Text Logo',
'type' => 'default',
),
'text_logo_tagline' => array(
'text' => 'Tagline Text',
'type' => 'default',
),
),
'Modules and Blocks General' => array (
'show_only_on_tdsp' => true,
'blocks_title' => array(
'text' => 'Blocks/Widgets Title',
'type' => 'default',
),
'blocks_author' => array(
'text' => 'Author',
'type' => 'default',
),
'blocks_date' => array(
'text' => 'Date',
'type' => 'default',
),
'blocks_comment' => array(
'text' => 'Comment',
'type' => 'default',
),
'blocks_category' => array(
'text' => 'Category tag',
'type' => 'default',
),
'blocks_filter' => array(
'text' => 'Filter dropdown',
'type' => 'default',
'show_only_on_tdsp' => true,
),
'blocks_excerpt' => array(
'text' => 'Excerpt',
'type' => 'default',
'show_only_on_tdsp' => true,
),
),
'Modules and Blocks - Article Title' => array (
'show_only_on_tdsp' => true,
'modules_general' => array(
'text' => 'General font',
'type' => 'general_setting',
),
'module_1' => array(
'text' => 'Module 1',
'type' => 'default',
),
'module_2' => array(
'text' => 'Module 2',
'type' => 'default',
),
'module_3' => array(
'text' => 'Module 3',
'type' => 'default',
),
'module_4' => array(
'text' => 'Module 4',
'type' => 'default',
),
'module_5' => array(
'text' => 'Module 5',
'type' => 'default',
),
'module_6' => array(
'text' => 'Module 6',
'type' => 'default',
),
'module_7' => array(
'text' => 'Module 7',
'type' => 'default',
),
'module_8' => array(
'text' => 'Module 8',
'type' => 'default',
),
'module_9' => array(
'text' => 'Module 9',
'type' => 'default',
),
'module_10' => array(
'text' => 'Module 10',
'type' => 'default',
),
'module_11' => array(
'text' => 'Module 11',
'type' => 'default',
),
'module_12' => array(
'text' => 'Module 12',
'type' => 'default',
),
'module_13' => array(
'text' => 'Module 13',
'type' => 'default',
),
'module_14' => array(
'text' => 'Module 14',
'type' => 'default',
),
'module_15' => array(
'text' => 'Module 15',
'type' => 'default',
),
'module_16' => array(
'text' => 'Module 16',
'type' => 'default',
),
'module_17' => array(
'text' => 'Module 17',
'type' => 'default',
),
'module_18' => array(
'text' => 'Module 18',
'type' => 'default',
),
'module_19' => array(
'text' => 'Module 19',
'type' => 'default',
),
),
'Modules MX and Other Blocks - Article Title' => array (
'show_only_on_tdsp' => true,
'other_modules_general' => array(
'text' => 'General font',
'type' => 'general_setting',
),
'module_mx1' => array(
'text' => 'Module MX1',
'type' => 'default',
),
'module_mx2' => array(
'text' => 'Module MX2',
'type' => 'default',
),
'module_mx3' => array(
'text' => 'Module MX3',
'type' => 'default',
),
'module_mx4' => array(
'text' => 'Module MX4',
'type' => 'default',
),
'module_mx5' => array(
'text' => 'Module MX5',
'type' => 'default',
),
'module_mx6' => array(
'text' => 'Module MX6',
'type' => 'default',
),
'module_mx7' => array(
'text' => 'Module MX7',
'type' => 'default',
),
'module_mx8' => array(
'text' => 'Module MX8',
'type' => 'default',
),
'module_mx9' => array(
'text' => 'Module MX9',
'type' => 'default',
),
'module_mx10' => array(
'text' => 'Module MX10',
'type' => 'default',
),
'module_mx11' => array(
'text' => 'Module MX11',
'type' => 'default',
),
'module_mx12' => array(
'text' => 'Module MX12',
'type' => 'default',
),
'module_mx13' => array(
'text' => 'Module MX13',
'type' => 'default',
),
'module_mx14' => array(
'text' => 'Module MX14',
'type' => 'default',
),
'module_mx15' => array(
'text' => 'Module MX15',
'type' => 'default',
),
'module_mx16' => array(
'text' => 'Module MX16',
'type' => 'default',
),
'module_mx17' => array(
'text' => 'Module MX17',
'type' => 'default',
),
'module_mx18' => array(
'text' => 'Module MX18',
'type' => 'default',
),
'module_mx19' => array(
'text' => 'Module MX19',
'type' => 'default',
),
'module_mx20' => array(
'text' => 'Module MX20',
'type' => 'default',
),
'module_mx21' => array(
'text' => 'Module MX21',
'type' => 'default',
),
'module_mx22' => array(
'text' => 'Module MX22',
'type' => 'default',
),
'module_mx23' => array(
'text' => 'Module MX23',
'type' => 'default',
),
'module_mx24' => array(
'text' => 'Module MX24',
'type' => 'default',
),
'module_mx25' => array(
'text' => 'Module MX25',
'type' => 'default',
),
'module_mx26' => array(
'text' => 'Module MX26',
'type' => 'default',
),
'news_ticker' => array(
'text' => 'News Ticker',
'type' => 'default',
),
'slider_1columns' => array(
'text' => 'Slider on 1 column',
'type' => 'default',
),
'slider_2columns' => array(
'text' => 'Slider on 2 columns',
'type' => 'default',
),
'slider_3columns' => array(
'text' => 'Slider on 3 columns',
'type' => 'default',
),
'big_grid_tiny' => array(
'text' => 'Big grid - Tiny img',
'type' => 'default',
),
'big_grid_small' => array(
'text' => 'Big grid - Small img',
'type' => 'default',
),
'big_grid_medium' => array(
'text' => 'Big grid - Medium img',
'type' => 'default',
),
'big_grid_big' => array(
'text' => 'Big grid - Big img',
'type' => 'default',
),
'homepage_post' => array(
'text' => 'Homepage post',
'type' => 'default',
)
),
'Mobile menu' => array (
'mobile_general' => array(
'text' => 'General font',
'type' => 'general_setting',
),
'mobile_menu' => array(
'text' => 'Mobile Menu',
'type' => 'default',
),
'mobile_sub_menu' => array(
'text' => 'Mobile Sub-Menu',
'type' => 'default',
)
),
'Post title' => array (
'show_only_on_tdsp' => true,
'post_general' => array(
'text' => 'General font',
'type' => 'general_setting',
),
'post_title' => array(
'text' => 'Default template',
'type' => 'default',
),
'post_title_style1' => array(
'text' => 'Style 1 template',
'type' => 'default',
),
'post_title_style2' => array(
'text' => 'Style 2 template',
'type' => 'default',
),
'post_title_style3' => array(
'text' => 'Style 3 template',
'type' => 'default',
),
'post_title_style4' => array(
'text' => 'Style 4 template',
'type' => 'default',
),
'post_title_style5' => array(
'text' => 'Style 5 template',
'type' => 'default',
),
'post_title_style6' => array(
'text' => 'Style 6 template',
'type' => 'default',
),
'post_title_style7' => array(
'text' => 'Style 7 template',
'type' => 'default',
),
'post_title_style8' => array(
'text' => 'Style 8 template',
'type' => 'default',
),
'post_title_style9' => array(
'text' => 'Style 9 template',
'type' => 'default',
),
'post_title_style10' => array(
'text' => 'Style 10 template',
'type' => 'default',
),
'post_title_style11' => array(
'text' => 'Style 11 template',
'type' => 'default',
),
'post_title_style12' => array(
'text' => 'Style 12 template',
'type' => 'default',
),
'post_title_style13' => array(
'text' => 'Style 13 template',
'type' => 'default',
),
),
'Post content' => array (
'show_only_on_tdsp' => true,
'post_content' => array(
'text' => 'Post Content',
'type' => 'default',
),
'post_blockquote' => array(
'text' => 'Default Blockquote',
'type' => 'default',
),
'post_box_quote' => array(
'text' => 'Box Quote',
'type' => 'default',
),
'post_pull_quote' => array(
'text' => 'Pull Quote',
'type' => 'default',
),
'post_lists' => array(
'text' => 'Lists',
'type' => 'default',
),
'post_h1' => array(
'text' => 'H1',
'type' => 'default',
),
'post_h2' => array(
'text' => 'H2',
'type' => 'default',
),
'post_h3' => array(
'text' => 'H3',
'type' => 'default',
),
'post_h4' => array(
'text' => 'H4',
'type' => 'default',
),
'post_h5' => array(
'text' => 'H5',
'type' => 'default',
),
'post_h6' => array(
'text' => 'H6',
'type' => 'default',
),
),
'Post elements' => array (
'show_only_on_tdsp' => true,
'post_category' => array(
'text' => 'Category tag',
'type' => 'default',
),
'post_author' => array(
'text' => 'Author',
'type' => 'default',
),
'post_date' => array(
'text' => 'Date',
'type' => 'default',
),
'post_comment' => array(
'text' => 'Views and Comments',
'type' => 'default',
),
'via_source_tag' => array(
'text' => 'Via/Source/Tags',
'type' => 'default',
),
'post_next_prev_text' => array(
'text' => 'Next/Prev Text',
'type' => 'default',
),
'post_next_prev' => array(
'text' => 'Next/Prev Post Title',
'type' => 'default',
),
'box_author_name' => array(
'text' => 'Box Author Name',
'type' => 'default',
),
'box_author_url' => array(
'text' => 'Box Author URL',
'type' => 'default',
),
'box_author_description' => array(
'text' => 'Box Author Description',
'type' => 'default',
),
'post_related' => array(
'text' => 'Related Article Title',
'type' => 'default',
),
'post_share' => array(
'text' => 'Share Text',
'type' => 'default',
),
'post_image_caption' => array(
'text' => 'Image caption',
'type' => 'default',
),
'post_subtitle_small' => array(
'text' => 'Subtitle post style Default, 1, 4, 5, 9, 10, 11',
'type' => 'default',
),
'post_subtitle_large' => array(
'text' => 'Subtitle post style 2, 3, 6, 7, 8',
'type' => 'default',
),
),
'Pages' => array (
'page_title' => array(
'text' => 'Page title',
'type' => 'default',
),
'page_content' => array(
'text' => 'Page content',
'type' => 'default',
),
'page_h1' => array(
'text' => 'H1',
'type' => 'default',
),
'page_h2' => array(
'text' => 'H2',
'type' => 'default',
),
'page_h3' => array(
'text' => 'H3',
'type' => 'default',
),
'page_h4' => array(
'text' => 'H4',
'type' => 'default',
),
'page_h5' => array(
'text' => 'H5',
'type' => 'default',
),
'page_h6' => array(
'text' => 'H6',
'type' => 'default',
),
),
'Footer' => array (
'show_only_on_tdsp' => true,
'footer_text_about' => array(
'text' => 'Text under logo',
'type' => 'default',
),
'footer_copyright_text' => array(
'text' => 'Copyright text',
'type' => 'default',
),
'footer_menu_text' => array(
'text' => 'Footer menu',
'type' => 'default',
),
),
'Other' => array (
'show_only_on_tdsp' => true,
'breadcrumb' => array(
'text' => 'Breadcrumb',
'type' => 'default',
),
'category_tag' => array(
'text' => 'Sub-Category tags from Category pages',
'type' => 'default',
),
'news_ticker_title' => array(
'text' => 'News Ticker title',
'type' => 'default',
),
'pagination' => array(
'text' => 'Pagination',
'type' => 'default',
),
'dropcap' => array(
'text' => 'Dropcap',
'type' => 'default',
),
'default_widgets' => array(
'text' => 'Default Widgets',
'type' => 'default',
),
'default_buttons' => array(
'text' => 'Default Buttons',
'type' => 'default',
),
'woocommerce_products' => array(
'text' => 'Woocommerce products titles',
'type' => 'default',
),
'woocommerce_product_title' => array(
'text' => 'Woocommerce product title on product page',
'type' => 'default',
),
),
'bbPress - Forum' => array (
'bbpress_header' => array(
'text' => 'Header',
'type' => 'default',
),
'bbpress_titles' => array(
'text' => 'Forums and Topics Titles',
'type' => 'default',
),
'bbpress_subcategories' => array(
'text' => 'Subcategories Titles',
'type' => 'default',
),
'bbpress_description' => array(
'text' => 'Categories Description',
'type' => 'default',
),
'bbpress_author' => array(
'text' => 'Author name',
'type' => 'default',
),
'bbpress_replies' => array(
'text' => 'Replies content',
'type' => 'default',
),
'bbpress_notices' => array(
'text' => 'Notices/Messages',
'type' => 'default',
),
'bbpress_pagination' => array(
'text' => 'Pagination text',
'type' => 'default',
),
'bbpress_topic' => array(
'text' => 'Topic details',
'type' => 'default',
),
),
'WooCommerce default templates' => array(
'woo_general' => array(
'text' => 'General font',
'type' => 'default',
),
),
); // end td_global::$typography_settings_list
/**
* set the custom css fields for the panel @see td_panel_custom_css.php
* and also for the wp_footer hook @see td_bottom_code()
*/
td_global::$theme_panel_custom_css_fields_list = array(
'tds_responsive_css_desktop' => array(
'text' => 'DESKTOP',
'description' => '1141px +',
'media_query' => '@media (min-width: 1141px)',
'img' => TDC_URL_LEGACY_COMMON . '/wp_booster/wp-admin/images/panel/resp-desktop.png'
),
'tds_responsive_css_ipad_landscape' => array(
'text' => 'IPAD LANDSCAPE',
'description' => '1019px - 1140px',
'media_query' => '@media (min-width: 1019px) and (max-width: 1140px)',
'img' => TDC_URL_LEGACY_COMMON . '/wp_booster/wp-admin/images/panel/resp-ipado.png'
),
'tds_responsive_css_ipad_portrait' => array(
'text' => 'IPAD PORTRAIT',
'description' => '768px - 1018px',
'media_query' => '@media (min-width: 768px) and (max-width: 1018px)',
'img' => TDC_URL_LEGACY_COMMON . '/wp_booster/wp-admin/images/panel/resp-ipadv.png'
),
'tds_responsive_css_phone' => array(
'text' => 'PHONES',
'description' => '0 - 767px',
'media_query' => '@media (max-width: 767px)',
'img' => TDC_URL_LEGACY_COMMON . '/wp_booster/wp-admin/images/panel/resp-phone.png'
)
);
// !!!! Change it to use just one option for viewport settings!
td_global::$viewport_settings = array(
'all' => td_global::$theme_panel_custom_css_fields_list['tds_responsive_css_desktop'],
'landscape' => td_global::$theme_panel_custom_css_fields_list['tds_responsive_css_ipad_landscape'],
'portrait' => td_global::$theme_panel_custom_css_fields_list['tds_responsive_css_ipad_portrait'],
'phone' => td_global::$theme_panel_custom_css_fields_list['tds_responsive_css_phone'],
);
td_global::$default_google_fonts_list = array();
$td_fonts_default = td_options::get( 'td_fonts_default' );
if ( empty( $td_fonts_default['default_fonts'] ) || ( ! empty( $td_fonts_default['default_fonts'] ) && '' === $td_fonts_default['default_fonts'] ) ) {
/**
* the default fonts used by the theme. For a list of fonts ids @see td_fonts::$font_names_google_list
*/
td_global::$default_google_fonts_list = array (
'438' => array(
'400',
'600',
'700'
),
'521' => array(
'400',
'500',
'700',
),
);
}
/**
* the demos are stored in /includes/demos
* demos_filename (without .txt) => demos_name
* @var array
*/
td_global::$demo_list = array(
'default_pro' => array(
'text' => 'Default PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/default_pro/',
'img' => TDC_URL_DEMO . '/default_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'black_pro' => array(
'text' => 'Black Version PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/black_pro/',
'img' => TDC_URL_DEMO . '/black_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_black_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'real_estate_pro' => array(
'text' => 'Real Estate PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/real_estate_pro/',
'img' => TDC_URL_DEMO . '/real_estate_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_real_estate_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder',
'tagDiv Newsletter',
'Advanced Custom Fields',
'Real Estate PRO Plugin',
),
'type' => array(
'pro',
'latest',
'listing'
)
),
'compass_pro' => array(
'text' => 'Compass PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/compass_pro/',
'img' => TDC_URL_DEMO . '/compass_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_compass_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder',
'Advanced Custom Fields',
'Compass PRO Plugin',
),
'type' => array(
'pro',
'latest',
'listing'
)
),
'eastcoast_check_pro' => array(
'text' => 'EastCoast Check PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/eastcoast_check_pro/',
'img' => TDC_URL_DEMO . '/eastcoast_check_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_eastcoast_check_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder',
'Advanced Custom Fields',
'Eastcoast Check PRO Plugin',
),
'type' => array(
'pro',
'latest',
'listing'
)
),
'doctors_pro' => array(
'text' => 'Doctors PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/doctors_pro/',
'img' => TDC_URL_DEMO . '/doctors_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_doctors_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder',
'Advanced Custom Fields',
'Doctors PRO Plugin',
),
'type' => array(
'pro',
'latest',
'listing'
)
),
'blockchain_pro' => array(
'text' => 'BlockChain PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/blockchain_pro/',
'img' => TDC_URL_DEMO . '/blockchain_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_blockchain_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder',
),
'type' => array(
'pro',
'multipurpose'
)
),
'default_rtl_pro' => array(
'text' => 'Default RTL PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/default_rtl_pro/',
'img' => TDC_URL_DEMO . '/default_rtl_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_default_rtl_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library'
),
'type' => array(
'pro',
'latest',
'magazine',
'rtl'
),
),
'river_news' => array(
'text' => 'River News',
'folder' => TDC_PATH_LEGACY . '/includes/demos/river_news/',
'img' => TDC_URL_DEMO . '/river_news/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_river_news_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder'
),
'type' => array(
'pro',
'latest',
'magazine',
'membership',
'rtl'
),
),
'rtl_news_magazine' => array(
'text' => 'RTL News Magazine',
'folder' => TDC_PATH_LEGACY . '/includes/demos/rtl_news_magazine/',
'img' => TDC_URL_DEMO . '/rtl_news_magazine/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_rtl_newsmagazine_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library'
),
'type' => array(
'pro',
'latest',
'magazine',
'membership',
'rtl'
),
),
//'food_delivery_pro' => array(
// 'text' => 'Food Delivery PRO',
// 'folder' => TDC_PATH_LEGACY . '/includes/demos/food_delivery_pro/',
// 'img' => TDC_URL_DEMO . '/food_delivery_pro/screenshot.png',
// 'demo_url' => 'https://demo.tagdiv.com/newspaper_food_delivery_pro/',
// 'td_css_generator_demo' => false,
// 'uses_custom_style_css' => false,
// 'required_plugins' => array(
// 'tagDiv Cloud Library',
// 'tagDiv Shop',
// 'WooCommerce'
// ),
// 'type' => array(
// 'shop'
// ),
//),
'chained_news_pro' => array(
'text' => 'Chained News PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/chained_news_pro/',
'img' => TDC_URL_DEMO . '/chained_news_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_chained_news_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder'
),
'type' => array(
'pro',
'latest',
'magazine',
'membership'
),
),
'dreamland_nest_pro' => array(
'text' => 'Dreamland Nest PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/dreamland_nest_pro/',
'img' => TDC_URL_DEMO . '/dreamland_nest_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_dreamland_nest_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
),
'type' => array(
'pro',
'multipurpose',
),
),
'crypto_gaming_pro' => array(
'text' => 'Crypto Gaming PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/crypto_gaming_pro/',
'img' => TDC_URL_DEMO . '/crypto_gaming_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_crypto_gaming_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder',
),
'type' => array(
'pro',
'magazine',
'membership'
),
),
'news_hub_pro' => array(
'text' => 'News Hub PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/news_hub_pro/',
'img' => TDC_URL_DEMO . '/news_hub_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_news_hub_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder',
),
'type' => array(
'pro',
'magazine',
'membership'
),
),
'today_news_pro' => array(
'text' => 'Today News PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/today_news_pro/',
'img' => TDC_URL_DEMO . '/today_news_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_today_news_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
'tagDiv Opt-In Builder',
),
'type' => array(
'pro',
'magazine',
'membership'
),
),
'reel_news_pro' => array(
'text' => 'Reel News PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/reel_news_pro/',
'img' => TDC_URL_DEMO . '/reel_news_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_reel_news_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
'tagDiv Opt-In Builder',
),
'type' => array(
'pro',
'magazine',
'membership'
),
),
'music_life' => array(
'text' => 'Music & Life',
'folder' => TDC_PATH_LEGACY . '/includes/demos/music_life/',
'img' => TDC_URL_DEMO . '/music_life/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_music_life_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'latest',
'magazine',
),
),
//'tech_talk_pro' => array(
// 'text' => 'Tech Talk PRO',
// 'folder' => TDC_PATH_LEGACY . '/includes/demos/tech_talk_pro/',
// 'img' => TDC_URL_DEMO . '/tech_talk_pro/screenshot.png',
// 'demo_url' => 'https://demo.tagdiv.com/newspaper_tech_talk_pro/',
// 'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
// 'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
// 'required_plugins' => array( // required plugins for the demo to work properly
// 'tagDiv Cloud Library',
// 'tagDiv Opt-In Builder',
// ),
// 'type' => array(
// 'pro',
// 'magazine',
// 'membership'
// ),
//),
'lightning_path' => array(
'text' => 'Lightning-Path',
'folder' => TDC_PATH_LEGACY . '/includes/demos/lightning_path/',
'img' => TDC_URL_DEMO . '/lightning_path/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_lightning_path_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
'tagDiv Opt-In Builder'
),
'type' => array(
'pro',
'latest',
'blog',
'membership'
),
),
'amsonia' => array(
'text' => 'Amsonia',
'folder' => TDC_PATH_LEGACY . '/includes/demos/amsonia/',
'img' => TDC_URL_DEMO . '/amsonia/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_amsonia_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
'tagDiv Opt-In Builder'
),
'type' => array(
'pro',
'latest',
'magazine',
'membership'
),
),
'downtown_pro' => array(
'text' => 'Downtown Magazine PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/downtown_pro/',
'img' => TDC_URL_DEMO . '/downtown_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_downtown_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder',
),
'type' => array(
'pro',
'magazine',
'membership'
),
),
'nft_pro' => array(
'text' => 'NFT News PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/nft_pro/',
'img' => TDC_URL_DEMO . '/nft_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_nft_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
'tagDiv Opt-In Builder'
),
'type' => array(
'pro',
'latest',
'magazine',
'membership'
),
),
'center_pro' => array(
'text' => 'Center Magazine PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/center_pro/',
'img' => TDC_URL_DEMO . '/center_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_center_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
'tagDiv Opt-In Builder'
),
'type' => array(
'pro',
'latest',
'magazine',
'membership'
),
),
'military_news_pro' => array(
'text' => 'Military News PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/military_news_pro/',
'img' => TDC_URL_DEMO . '/military_news_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_military_news_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder',
),
'type' => array(
'pro',
'latest',
'magazine',
'membership'
),
),
'kattmar' => array(
'text' => 'Kattmar',
'folder' => TDC_PATH_LEGACY . '/includes/demos/kattmar/',
'img' => TDC_URL_DEMO . '/kattmar/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_kattmar_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
'tagDiv Opt-In Builder'
),
'type' => array(
'pro',
'latest',
'magazine',
'membership'
),
),
'aniglobe' => array(
'text' => 'AniGlobe',
'folder' => TDC_PATH_LEGACY . '/includes/demos/aniglobe/',
'img' => TDC_URL_DEMO . '/aniglobe/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_aniglobe_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
'tagDiv Opt-In Builder'
),
'type' => array(
'pro',
'latest',
'magazine',
'membership'
),
),
'the_rimont' => array(
'text' => 'The Rimont',
'folder' => TDC_PATH_LEGACY . '/includes/demos/the_rimont/',
'img' => TDC_URL_DEMO . '/the_rimont/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_the_rimont_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
),
'type' => array(
'pro',
'latest',
'magazine'
),
),
'living_pro' => array(
'text' => 'Living Magazine PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/living_pro/',
'img' => TDC_URL_DEMO . '/living_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_living_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
'tagDiv Opt-In Builder'
),
'type' => array(
'pro',
'latest',
'magazine',
'membership'
),
),
'week_pro' => array(
'text' => 'Newsweek PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/week_pro/',
'img' => TDC_URL_DEMO . '/week_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_week_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder'
),
'type' => array(
'pro',
'latest',
'magazine',
'membership'
),
),
'publication_pro' => array(
'text' => 'Publication PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/publication_pro/',
'img' => TDC_URL_DEMO . '/publication_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_publication_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder'
),
'type' => array(
'pro',
'latest',
'magazine',
'membership'
),
),
'metropolitan_pro' => array(
'text' => 'Metropolitan PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/metropolitan_pro/',
'img' => TDC_URL_DEMO . '/metropolitan_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_metropolitan_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder'
),
'type' => array(
'pro',
'latest',
'magazine',
'membership'
),
),
'rue_bailand' => array(
'text' => 'Rue Bailand',
'folder' => TDC_PATH_LEGACY . '/includes/demos/rue_bailand/',
'img' => TDC_URL_DEMO . '/rue_bailand/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_rue_bailand_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder',
),
'type' => array(
'pro',
'latest',
'blog',
'membership'
),
),
'aramis' => array(
'text' => 'Aramis',
'folder' => TDC_PATH_LEGACY . '/includes/demos/aramis/',
'img' => TDC_URL_DEMO . '/aramis/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_aramis_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder',
),
'type' => array(
'pro',
'latest',
'blog',
'membership'
),
),
'personal_trainer' => array(
'text' => 'Personal Trainer',
'folder' => TDC_PATH_LEGACY . '/includes/demos/personal_trainer/',
'img' => TDC_URL_DEMO . '/personal_trainer/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_personal_trainer_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'blog',
'membership'
),
),
'crypto_news_pro' => array(
'text' => 'Crypto News PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/crypto_news_pro/',
'img' => TDC_URL_DEMO . '/crypto_news_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_crypto_news_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder',
),
'type' => array(
'pro',
'magazine',
'membership'
),
),
'parenting' => array(
'text' => 'Parenting',
'folder' => TDC_PATH_LEGACY . '/includes/demos/parenting/',
'img' => TDC_URL_DEMO . '/parenting/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_parenting_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
'tagDiv Opt-In Builder',
),
'type' => array(
'pro',
'magazine',
'membership'
),
),
'revenant' => array(
'text' => 'Revenant',
'folder' => TDC_PATH_LEGACY . '/includes/demos/revenant/',
'img' => TDC_URL_DEMO . '/revenant/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_revenant_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Opt-In Builder'
),
'type' => array(
'pro',
'magazine',
'membership'
),
),
'shop_kids_store' => array(
'text' => 'Shop Kids Store',
'folder' => TDC_PATH_LEGACY . '/includes/demos/shop_kids_store/',
'img' => TDC_URL_DEMO . '/shop_kids_store/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_shop_kids_store/',
'td_css_generator_demo' => false,
'uses_custom_style_css' => false,
'required_plugins' => array(
'tagDiv Cloud Library',
'tagDiv Shop',
'tagDiv Newsletter',
'tagDiv Social Counter',
'WooCommerce'
),
'type' => array(
'shop'
),
),
'shop_audio' => array(
'text' => 'Shop Audio',
'folder' => TDC_PATH_LEGACY . '/includes/demos/shop_audio/',
'img' => TDC_URL_DEMO . '/shop_audio/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_shop_audio/',
'td_css_generator_demo' => false,
'uses_custom_style_css' => false,
'required_plugins' => array(
'tagDiv Cloud Library',
'tagDiv Shop',
'WooCommerce'
),
'type' => array(
'shop'
),
),
'shop_watches_store' => array(
'text' => 'Shop Watches Store',
'folder' => TDC_PATH_LEGACY . '/includes/demos/shop_watches_store/',
'img' => TDC_URL_DEMO . '/shop_watches_store/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_shop_watches_store/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Shop',
'tagDiv Newsletter',
'WooCommerce'
),
'type' => array(
'shop'
),
),
'shop_vintage_choppers_store' => array(
'text' => 'Shop Vintage Choppers Store',
'folder' => TDC_PATH_LEGACY . '/includes/demos/shop_vintage_choppers_store/',
'img' => TDC_URL_DEMO . '/shop_vintage_choppers_store/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_shop_vintage_choppers_store/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Shop',
'WooCommerce'
),
'type' => array(
'shop'
),
),
'shop_makeup' => array(
'text' => 'Shop Makeup',
'folder' => TDC_PATH_LEGACY . '/includes/demos/shop_makeup/',
'img' => TDC_URL_DEMO . '/shop_makeup/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_shop_makeup/',
'td_css_generator_demo' => false,
'uses_custom_style_css' => false,
'required_plugins' => array(
'tagDiv Cloud Library',
'tagDiv Shop',
'tagDiv Newsletter',
'tagDiv Social Counter',
'WooCommerce'
),
'type' => array(
'shop'
),
),
'shop_apocryph_pro' => array(
'text' => 'Shop Apocryph',
'folder' => TDC_PATH_LEGACY . '/includes/demos/shop_apocryph_pro/',
'img' => TDC_URL_DEMO . '/shop_vaness_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_shop_apocryph/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Shop',
'tagDiv Newsletter',
'WooCommerce'
),
'type' => array(
'shop'
),
),
'shop_vaness_pro' => array(
'text' => 'Shop Vaness',
'folder' => TDC_PATH_LEGACY . '/includes/demos/shop_vaness_pro/',
'img' => TDC_URL_DEMO . '/shop_vaness_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_shop_vaness/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Shop',
'tagDiv Newsletter',
'WooCommerce'
),
'type' => array(
'shop'
),
),
'shop_blog_gadgets' => array(
'text' => 'Shop Blog Gadgets',
'folder' => TDC_PATH_LEGACY . '/includes/demos/shop_blog_gadgets/',
'img' => TDC_URL_DEMO . '/shop_blog_gadgets/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_shop_blog_gadgets/',
'td_css_generator_demo' => false,
'uses_custom_style_css' => false,
'required_plugins' => array(
'tagDiv Cloud Library',
'tagDiv Shop',
'tagDiv Newsletter',
'tagDiv Social Counter',
'WooCommerce'
),
'type' => array(
'shop'
),
),
'art_blog_pro' => array(
'text' => 'Art Blog PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/art_blog_pro/',
'img' => TDC_URL_DEMO . '/art_blog_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_art_blog_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'blog'
),
),
'magazine_pro' => array(
'text' => 'Magazine PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/magazine_pro/',
'img' => TDC_URL_DEMO . '/magazine_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_magazine_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'pulses_pro' => array(
'text' => 'Pulses PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/pulses_pro/',
'img' => TDC_URL_DEMO . '/pulses_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_pulses_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'london_news_pro' => array(
'text' => 'London News PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/london_news_pro/',
'img' => TDC_URL_DEMO . '/london_news_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_london_news_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
),
'type' => array(
'pro',
'magazine'
),
),
'city_pro' => array(
'text' => 'City PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/city_pro/',
'img' => TDC_URL_DEMO . '/city_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_city_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array(
// required plugins for the demo to work properly
'tagDiv Newsletter',
'tagDiv Cloud Library',
),
'type' => array(
'pro',
'magazine'
),
),
'school_pro' => array(
'text' => 'School PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/school_pro/',
'img' => TDC_URL_DEMO . '/school_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_school_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array(
// required plugins for the demo to work properly
'tagDiv Newsletter',
'tagDiv Cloud Library',
),
'type' => array(
'pro',
'magazine'
),
),
'cov19_italy_report_pro' => array(
'text' => 'COV-19 Italy Report PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/cov19_italy_report_pro/',
'img' => TDC_URL_DEMO . '/cov19_italy_report_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_covid19_news_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'gossip_pro' => array(
'text' => 'Gossip PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/gossip_pro/',
'img' => TDC_URL_DEMO . '/gossip_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_gossip_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'tech_pro' => array(
'text' => 'Tech News PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/tech_pro/',
'img' => TDC_URL_DEMO . '/tech_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_tech_news_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array(
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'life_news' => array(
'text' => 'Life News PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/life_news/',
'img' => TDC_URL_DEMO . '/life_news/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_life_news/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'gadgets_pro' => array(
'text' => 'Gadgets PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/gadgets_pro/',
'img' => TDC_URL_DEMO . '/gadgets_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_gadgets_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array(
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'romania_news' => array(
'text' => 'Romania News PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/romania_news/',
'img' => TDC_URL_DEMO . '/romania_news/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_romania_news/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'classic_pro' => array(
'text' => 'Classic PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/classic_pro/',
'img' => TDC_URL_DEMO . '/classic_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_classic_pro/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
),
'type' => array(
'pro',
'blog'
),
),
'lifestyle_pro' => array(
'text' => 'Lifestyle PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/lifestyle_pro/',
'img' => TDC_URL_DEMO . '/lifestyle_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_lifestyle_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'medicine_pro' => array(
'text' => 'Coronavirus Medicine PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/medicine_pro/',
'img' => TDC_URL_DEMO . '/medicine_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_medicine_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'covid_dark_pro' => array(
'text' => 'Covid Dark PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/covid_dark_pro/',
'img' => TDC_URL_DEMO . '/covid_dark_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_covid_dark_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'covid_stats_pro' => array(
'text' => 'Covid Stats PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/covid_stats_pro/',
'img' => TDC_URL_DEMO . '/covid_stats_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_covid_stats_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
),
'type' => array(
'pro',
'magazine'
),
),
'pandemic_pro' => array(
'text' => 'Covid Pandemic PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/pandemic_pro/',
'img' => TDC_URL_DEMO . '/pandemic_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_pandemic_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'artist_pro' => array(
'text' => 'Artist PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/artist_pro/',
'img' => TDC_URL_DEMO . '/artist_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_artist_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'arette_pro' => array(
'text' => 'Arette PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/arette_pro/',
'img' => TDC_URL_DEMO . '/arette_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_arette_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'scuba_pro' => array(
'text' => 'Scuba Diving PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/scuba_pro/',
'img' => TDC_URL_DEMO . '/scuba_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_scuba_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'garden_pro' => array(
'text' => 'Garden PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/garden_pro/',
'img' => TDC_URL_DEMO . '/garden_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_garden_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'estates_pro' => array(
'text' => 'Estates PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/estates_pro/',
'img' => TDC_URL_DEMO . '/estates_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_estates_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'mintyside_pro' => array(
'text' => 'Mintyside PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/mintyside_pro/',
'img' => TDC_URL_DEMO . '/mintyside_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_mintyside_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'retro_blog_pro' => array(
'text' => 'Retro Blog PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/retro_blog_pro/',
'img' => TDC_URL_DEMO . '/retro_blog_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_retro_blog_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'blog'
),
),
'gourmet_pro' => array(
'text' => 'Gourmet PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/gourmet_pro/',
'img' => TDC_URL_DEMO . '/gourmet_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_gourmet_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'style_pro' => array(
'text' => 'Style PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/style_pro/',
'img' => TDC_URL_DEMO . '/style_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_style_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array(
'tagDiv Cloud Library',
'tagDiv Newsletter',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'influencer' => array(
'text' => 'Influencer PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/influencer/',
'img' => TDC_URL_DEMO . '/influencer/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_influencer/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'travel_pro' => array(
'text' => 'Travel Memories PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/travel_pro/',
'img' => TDC_URL_DEMO . '/travel_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_travel_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'blog'
),
),
'video_pro' => array(
'text' => 'Video News PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/video_pro/',
'img' => TDC_URL_DEMO . '/video_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_video_news_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'animals_pro' => array(
'text' => 'Animals Magazine PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/animals_pro/',
'img' => TDC_URL_DEMO . '/animals_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_animals_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
),
'type' => array(
'pro',
'magazine'
),
),
'royal_pub_pro' => array(
'text' => 'Royal Pub PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/royal_pub_pro/',
'img' => TDC_URL_DEMO . '/royal_pub_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_royal_pub_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'amberlight_pro' => array(
'text' => 'Amberlight PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/amberlight_pro/',
'img' => TDC_URL_DEMO . '/amberlight_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_amberlight_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'baby_pro' => array(
'text' => 'Baby PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/baby_pro/',
'img' => TDC_URL_DEMO . '/baby_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_baby_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'zodiac_pro' => array(
'text' => 'Zodiac PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/zodiac_pro/',
'img' => TDC_URL_DEMO . '/zodiac_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_zodiac_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'the_critic' => array(
'text' => 'The Critic PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/the_critic/',
'img' => TDC_URL_DEMO . '/the_critic/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_the_critic/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array(
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'blog'
),
),
'podcasts' => array(
'text' => 'Podcasts PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/podcasts/',
'img' => TDC_URL_DEMO . '/podcasts/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_podcasts/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'fashion_pro' => array(
'text' => 'La Mode PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/fashion_pro/',
'img' => TDC_URL_DEMO . '/fashion_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_la_mode/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
),
'type' => array(
'pro',
'magazine'
),
),
'sports_pro' => array(
'text' => 'Sports PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/sports_pro/',
'img' => TDC_URL_DEMO . '/sports_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_sports_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'fitness_pro' => array(
'text' => 'Fitness Blog PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/fitness_pro/',
'img' => TDC_URL_DEMO . '/fitness_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_fitness_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'blog'
),
),
'history_pro' => array(
'text' => 'L\'Histoire PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/history_pro/',
'img' => TDC_URL_DEMO . '/history_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_history/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'art_pro' => array(
'text' => 'Art Magazine PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/art_pro/',
'img' => TDC_URL_DEMO . '/art_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_art_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array(
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'beauty_pro' => array(
'text' => 'Beauty PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/beauty_pro/',
'img' => TDC_URL_DEMO . '/beauty_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_beauty_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array(
'tagDiv Newsletter',
'tagDiv Cloud Library',
),
'type' => array(
'pro',
'magazine'
),
),
'gadgets_magazine_pro' => array(
'text' => 'Gadgets Magazine PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/gadgets_magazine_pro/',
'img' => TDC_URL_DEMO . '/gadgets_magazine_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_gadgets_magazine_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'crypto_pro' => array(
'text' => 'Crypto PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/crypto_pro/',
'img' => TDC_URL_DEMO . '/crypto_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_crypto_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'pro',
'magazine'
),
),
'fast_pro' => array(
'text' => 'Fast News PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/fast_pro/',
'img' => TDC_URL_DEMO . '/fast_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_fast_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'business_pro' => array(
'text' => 'Business PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/business_pro/',
'img' => TDC_URL_DEMO . '/business_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_business_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
),
'type' => array(
'pro',
'magazine'
),
),
'classic_blog_pro' => array(
'text' => 'Classic Blog PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/classic_blog_pro/',
'img' => TDC_URL_DEMO . '/classic_blog_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_classic_blog_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'city_news_pro' => array(
'text' => 'City News PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/city_news_pro/',
'img' => TDC_URL_DEMO . '/crypto_news_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_city_news_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
),
'type' => array(
'pro',
'magazine'
),
),
'dentist_pro' => array(
'text' => 'Dental Studio PRO',
'folder' => TDC_PATH_LEGACY . '/includes/demos/dentist_pro/',
'img' => TDC_URL_DEMO . '/dentist_pro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_dentist_pro/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
),
'type' => array(
'pro',
'multipurpose'
)
),
'default' => array(
'text' => 'Default',
'folder' => TDC_PATH_LEGACY . '/includes/demos/default/',
'img' => TDC_URL_DEMO . '/default/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper/',
'td_css_generator_demo' => false,
'uses_custom_style_css' => false, // load a custom demo_style.less - must also be added to td_less_style.css.php
'hide_demo' => true, // hide the old demo which has a PRO version
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
),
),
'black' => array(
'text' => 'Black Version',
'folder' => TDC_PATH_LEGACY . '/includes/demos/black/',
'img' => TDC_URL_DEMO . '/black/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_black/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'hide_demo' => true, // hide the old demo which has a PRO version
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
),
),
'gossip' => array(
'text' => 'iGossip',
'folder' => TDC_PATH_LEGACY . '/includes/demos/gossip/',
'img' => TDC_URL_DEMO . '/gossip/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_gossip/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Standard Pack',
'tagDiv Social Counter',
),
'type' => array(
'magazine'
),
),
'blog_food' => array(
'text' => 'Food Blog',
'folder' => TDC_PATH_LEGACY . '/includes/demos/blog_food/',
'img' => TDC_URL_DEMO . '/blog_food/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_blog_food/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'racing' => array(
'text' => 'Racing Mag',
'folder' => TDC_PATH_LEGACY . '/includes/demos/racing/',
'img' => TDC_URL_DEMO . '/racing/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_racing/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Standard Pack',
'tagDiv Social Counter',
),
'type' => array(
'magazine'
)
),
'nomad' => array(
'text' => 'Nomad',
'folder' => TDC_PATH_LEGACY . '/includes/demos/nomad/',
'img' => TDC_URL_DEMO . '/nomad/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_nomad/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
),
'type' => array(
'blog'
)
),
'decor' => array(
'text' => 'Home Decor',
'folder' => TDC_PATH_LEGACY . '/includes/demos/decor/',
'img' => TDC_URL_DEMO . '/decor/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_decor/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
),
'type' => array(
'magazine'
)
),
'blog_lifestyle' => array(
'text' => 'Lifestyle Blog',
'folder' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/',
'img' => TDC_URL_DEMO . '/blog_lifestyle/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_blog_lifestyle/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'living_mag' => array(
'text' => 'LivingMag',
'folder' => TDC_PATH_LEGACY . '/includes/demos/living_mag/',
'img' => TDC_URL_DEMO . '/living_mag/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_living_mag/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'fast' => array(
'text' => 'Fast News',
'folder' => TDC_PATH_LEGACY . '/includes/demos/fast/',
'img' => TDC_URL_DEMO . '/fast/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_fast/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'hide_demo' => true, // hide the old demo which has a PRO version
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'crypto' => array(
'text' => 'Crypto News',
'folder' => TDC_PATH_LEGACY . '/includes/demos/crypto/',
'img' => TDC_URL_DEMO . '/crypto/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_crypto/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'hide_demo' => true, // hide the old demo which has a PRO version
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'craft_ideas' => array(
'text' => 'Craft Ideas',
'folder' => TDC_PATH_LEGACY . '/includes/demos/craft_ideas/',
'img' => TDC_URL_DEMO . '/craft_ideas/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_craft_ideas/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
'tagDiv Social Counter',
),
'type' => array(
'blog'
)
),
'classy' => array(
'text' => 'Classy Magazine',
'folder' => TDC_PATH_LEGACY . '/includes/demos/classy/',
'img' => TDC_URL_DEMO . '/classy/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_classy/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'journal' => array(
'text' => 'Journal',
'folder' => TDC_PATH_LEGACY . '/includes/demos/journal/',
'img' => TDC_URL_DEMO . '/journal/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_journal/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'dentist' => array(
'text' => 'Dental Studio',
'folder' => TDC_PATH_LEGACY . '/includes/demos/dentist/',
'img' => TDC_URL_DEMO . '/dentist/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_dentist/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'hide_demo' => true, // hide the old demo which has a PRO version
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'multipurpose'
)
),
'gaming' => array(
'text' => 'Gaming',
'folder' => TDC_PATH_LEGACY . '/includes/demos/gaming/',
'img' => TDC_URL_DEMO . '/gaming/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_gaming/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Newsletter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'entertainment' => array(
'text' => 'Entertainment',
'folder' => TDC_PATH_LEGACY . '/includes/demos/entertainment/',
'img' => TDC_URL_DEMO . '/entertainment/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_entertainment/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Cloud Library',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'blog_coffee' => array(
'text' => 'Coffee Blog',
'folder' => TDC_PATH_LEGACY . '/includes/demos/blog_coffee/',
'img' => TDC_URL_DEMO . '/blog_coffee/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_blog_coffee/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'nature' => array(
'text' => 'Nature Love',
'folder' => TDC_PATH_LEGACY . '/includes/demos/nature/',
'img' => TDC_URL_DEMO . '/nature/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_nature/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'multipurpose'
)
),
'wine' => array(
'text' => 'Wine Aroma',
'folder' => TDC_PATH_LEGACY . '/includes/demos/wine/',
'img' => TDC_URL_DEMO . '/wine/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_wine/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'multipurpose'
)
),
'city_news' => array(
'text' => 'City News',
'folder' => TDC_PATH_LEGACY . '/includes/demos/city_news/',
'img' => TDC_URL_DEMO . '/city_news/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_city_news/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'hide_demo' => true, // hide the old demo which has a PRO version
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'smart_app' => array(
'text' => 'Smart APP',
'folder' => TDC_PATH_LEGACY . '/includes/demos/smart_app/',
'img' => TDC_URL_DEMO . '/smart_app/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_smart_app/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'multipurpose'
)
),
'lifestyle' => array(
'text' => 'Lifestyle Magazine',
'folder' => TDC_PATH_LEGACY . '/includes/demos/lifestyle/',
'img' => TDC_URL_DEMO . '/lifestyle/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_lifestyle/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'gadgets' => array(
'text' => 'Gadgets',
'folder' => TDC_PATH_LEGACY . '/includes/demos/gadgets/',
'img' => TDC_URL_DEMO . '/gadgets/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_gadgets/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'hide_demo' => true, // hide the old demo which has a PRO version
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'wildlife' => array(
'text' => 'Raw & Wild',
'folder' => TDC_PATH_LEGACY . '/includes/demos/wildlife/',
'img' => TDC_URL_DEMO . '/wildlife/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_wildlife/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'multipurpose'
)
),
'business' => array(
'text' => 'Business',
'folder' => TDC_PATH_LEGACY . '/includes/demos/business/',
'img' => TDC_URL_DEMO . '/business/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_business/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'hide_demo' => true, // hide the old demo which has a PRO version
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'multipurpose'
)
),
'construction' => array(
'text' => 'Construction',
'folder' => TDC_PATH_LEGACY . '/includes/demos/construction/',
'img' => TDC_URL_DEMO . '/construction/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_construction/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'multipurpose'
)
),
'recipes' => array(
'text' => 'Recipes',
'folder' => TDC_PATH_LEGACY . '/includes/demos/recipes/',
'img' => TDC_URL_DEMO . '/recipes/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_recipes/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'week' => array(
'text' => 'News Week',
'folder' => TDC_PATH_LEGACY . '/includes/demos/week/',
'img' => TDC_URL_DEMO . '/week/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_week/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'ink' => array(
'text' => 'Ink Parlor',
'folder' => TDC_PATH_LEGACY . '/includes/demos/ink/',
'img' => TDC_URL_DEMO . '/ink/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_ink/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'multipurpose'
)
),
'what' => array(
'text' => 'Say What?',
'folder' => TDC_PATH_LEGACY . '/includes/demos/what/',
'img' => TDC_URL_DEMO . '/what/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_what/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'book_club' => array(
'text' => 'Book Club',
'folder' => TDC_PATH_LEGACY . '/includes/demos/book_club/',
'img' => TDC_URL_DEMO . '/book_club/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_book_club/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'demo_installed_text' => '<a href="http://forum.tagdiv.com/import-revolution-sliders-on-demos/" target="_blank">Import revolution slider</a>',
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'law_firm' => array(
'text' => 'Law Firm',
'folder' => TDC_PATH_LEGACY . '/includes/demos/law_firm/',
'img' => TDC_URL_DEMO . '/law_firm/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_law_firm/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'multipurpose'
)
),
'tech' => array(
'text' => 'Tech News',
'folder' => TDC_PATH_LEGACY . '/includes/demos/tech/',
'img' => TDC_URL_DEMO . '/tech/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_tech/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'spa' => array(
'text' => 'Spa Heaven',
'folder' => TDC_PATH_LEGACY . '/includes/demos/spa/',
'img' => TDC_URL_DEMO . '/spa/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_spa/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'multipurpose'
)
),
'travel' => array(
'text' => 'Travel Guides',
'folder' => TDC_PATH_LEGACY . '/includes/demos/travel/',
'img' => TDC_URL_DEMO . '/travel/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_travel/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
'tagDiv Newsletter',
),
'type' => array(
'magazine'
)
),
'retro' => array(
'text' => 'Retro',
'folder' => TDC_PATH_LEGACY . '/includes/demos/retro/',
'img' => TDC_URL_DEMO . '/retro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_retro/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'blog_architecture' => array(
'text' => 'Architecture',
'folder' => TDC_PATH_LEGACY . '/includes/demos/blog_architecture/',
'img' => TDC_URL_DEMO . '/blog_architecture/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_architecture/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'blog_fitness' => array(
'text' => 'Blog Fitness',
'folder' => TDC_PATH_LEGACY . '/includes/demos/blog_fitness/',
'img' => TDC_URL_DEMO . '/blog_fitness/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_blog_fitness/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'magazine' => array(
'text' => 'News Magazine',
'folder' => TDC_PATH_LEGACY . '/includes/demos/magazine/',
'img' => TDC_URL_DEMO . '/magazine/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_magazine/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'voice' => array(
'text' => 'Voice Report',
'folder' => TDC_PATH_LEGACY . '/includes/demos/voice/',
'img' => TDC_URL_DEMO . '/voice/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_voice/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'technology' => array(
'text' => 'Technology',
'folder' => TDC_PATH_LEGACY . '/includes/demos/technology/',
'img' => TDC_URL_DEMO . '/technology/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_technology/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'multipurpose'
)
),
'art_creek' => array(
'text' => 'Art Creek',
'folder' => TDC_PATH_LEGACY . '/includes/demos/art_creek/',
'img' => TDC_URL_DEMO . '/art_creek/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_art_creek/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'sound_radar' => array(
'text' => 'Sound Radar',
'folder' => TDC_PATH_LEGACY . '/includes/demos/sound_radar/',
'img' => TDC_URL_DEMO . '/sound_radar/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_sound_radar/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'blog_travel' => array(
'text' => 'Travel Blog',
'folder' => TDC_PATH_LEGACY . '/includes/demos/blog_travel/',
'img' => TDC_URL_DEMO . '/blog_travel/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_blog_travel/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'demo_installed_text' => '<a href="http://forum.tagdiv.com/import-revolution-sliders-on-demos/" target="_blank">Import revolution slider</a>',
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'church' => array(
'text' => 'Church',
'folder' => TDC_PATH_LEGACY . '/includes/demos/church/',
'img' => TDC_URL_DEMO . '/church/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_church/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'blog_beauty' => array(
'text' => 'Beauty Blog',
'folder' => TDC_PATH_LEGACY . '/includes/demos/blog_beauty/',
'img' => TDC_URL_DEMO . '/blog_beauty/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_blog_beauty/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'restro' => array(
'text' => 'Restro',
'folder' => TDC_PATH_LEGACY . '/includes/demos/restro/',
'img' => TDC_URL_DEMO . '/restro/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_restro/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'multipurpose'
)
),
'showcase' => array(
'text' => 'Showcase',
'folder' => TDC_PATH_LEGACY . '/includes/demos/showcase/',
'img' => TDC_URL_DEMO . '/showcase/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_showcase/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'multipurpose'
)
),
'old_fashioned' => array(
'text' => 'Old Fashioned',
'folder' => TDC_PATH_LEGACY . '/includes/demos/old_fashioned/',
'img' => TDC_URL_DEMO . '/old_fashioned/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_old_fashioned/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'photography' => array(
'text' => 'Photography',
'folder' => TDC_PATH_LEGACY . '/includes/demos/photography/',
'img' => TDC_URL_DEMO . '/photography/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_photography/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'blog_baby' => array(
'text' => 'Baby Blog',
'folder' => TDC_PATH_LEGACY . '/includes/demos/blog_baby/',
'img' => TDC_URL_DEMO . '/blog_baby/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_blog_baby/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'cafe' => array(
'text' => 'News Cafe',
'folder' => TDC_PATH_LEGACY . '/includes/demos/cafe/',
'img' => TDC_URL_DEMO . '/cafe/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_cafe/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'sport' => array(
'text' => 'Sport News',
'folder' => TDC_PATH_LEGACY . '/includes/demos/sport/',
'img' => TDC_URL_DEMO . '/sport/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_sport/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'local_news' => array(
'text' => 'Local News',
'folder' => TDC_PATH_LEGACY . '/includes/demos/local_news/',
'img' => TDC_URL_DEMO . '/local_news/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_local_news/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'blog_cars' => array(
'text' => 'Cars Blog',
'folder' => TDC_PATH_LEGACY . '/includes/demos/blog_cars/',
'img' => TDC_URL_DEMO . '/blog_cars/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_blog_cars/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'demo_installed_text' => '<a href="http://forum.tagdiv.com/import-revolution-sliders-on-demos/" target="_blank">Import revolution slider</a>',
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'medicine' => array(
'text' => 'Global Medicine',
'folder' => TDC_PATH_LEGACY . '/includes/demos/medicine/',
'img' => TDC_URL_DEMO . '/medicine/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_medicine/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'blog_health' => array(
'text' => 'Health Blog',
'folder' => TDC_PATH_LEGACY . '/includes/demos/blog_health/',
'img' => TDC_URL_DEMO . '/blog_health/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_blog_health/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'wedding' => array(
'text' => 'Wedding News',
'folder' => TDC_PATH_LEGACY . '/includes/demos/wedding/',
'img' => TDC_URL_DEMO . '/wedding/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_wedding/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'demo_installed_text' => '<a href="http://forum.tagdiv.com/import-revolution-sliders-on-demos/" target="_blank">Import revolution slider</a>',
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'animals' => array(
'text' => 'Animal News',
'folder' => TDC_PATH_LEGACY . '/includes/demos/animals/',
'img' => TDC_URL_DEMO . '/animals/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_animals/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'politics' => array(
'text' => 'Politics',
'folder' => TDC_PATH_LEGACY . '/includes/demos/politics/',
'img' => TDC_URL_DEMO . '/politics/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_politics/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'demo_installed_text' => '<a href="http://forum.tagdiv.com/import-revolution-sliders-on-demos/" target="_blank">Import revolution slider</a>',
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'blog' => array(
'text' => 'Classic Blog',
'folder' => TDC_PATH_LEGACY . '/includes/demos/blog/',
'img' => TDC_URL_DEMO . '/blog/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_classic_blog/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'hide_demo' => true, // hide the old demo which has a PRO version
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Standard Pack',
),
'type' => array(
'blog'
)
),
'college' => array(
'text' => 'College News',
'folder' => TDC_PATH_LEGACY . '/includes/demos/college/',
'img' => TDC_URL_DEMO . '/college/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_college/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'cars' => array(
'text' => 'Car Enthusiast',
'folder' => TDC_PATH_LEGACY . '/includes/demos/cars/',
'img' => TDC_URL_DEMO . '/cars/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_cars/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'health' => array(
'text' => 'Health & Fitness',
'folder' => TDC_PATH_LEGACY . '/includes/demos/health/',
'img' => TDC_URL_DEMO . '/health/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_health/',
'td_css_generator_demo' => true, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'video' => array(
'text' => 'Video News',
'folder' => TDC_PATH_LEGACY . '/includes/demos/video/',
'img' => TDC_URL_DEMO . '/video/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_video/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
'fashion' => array(
'text' => 'Fashion',
'folder' => TDC_PATH_LEGACY . '/includes/demos/fashion/',
'img' => TDC_URL_DEMO . '/fashion/screenshot.png',
'demo_url' => 'https://demo.tagdiv.com/newspaper_fashion/',
'td_css_generator_demo' => false, // must have a td_css_generator_demo.php in demo's folder
'uses_custom_style_css' => true, // load a custom demo_style.less - must also be added to td_less_style.css.php
'required_plugins' => array( // required plugins for the demo to work properly
'tagDiv Social Counter',
'tagDiv Standard Pack',
),
'type' => array(
'magazine'
)
),
);
/*
* it doesn't require the tagDiv Composer plugin
*/
td_api_features::set('require_vc', false);
//td_api_features::set('require_td_composer', true);
// disable activation/demos/panel/updates check if just theme without composer..
if ( ! defined('TD_COMPOSER' ) ) {
add_action( 'admin_enqueue_scripts', function() {
$custom_css = "
#adminmenu a[href*=\"td_cake_panel\"],
#adminmenu a[href*=\"td_theme_demos\"],
#adminmenu a[href*=\"td_theme_panel\"],
.nav-tab-wrapper a[href*=\"td_cake_panel\"],
.nav-tab-wrapper a[href*=\"td_theme_demos\"],
.nav-tab-wrapper a[href*=\"td_theme_panel\"] {
display: none
}";
wp_add_inline_style( 'td-wp-admin-td-panel-2', $custom_css );
}, 11);
}
add_action( 'admin_enqueue_scripts', function () {
if ( TDC_DEPLOY_MODE == 'dev' ) {
wp_enqueue_style( 'td-legacy-framework-front-style-less', TDC_URL_LEGACY . '/td_less_style.css.php?part=admin-style.css_td_legacy_newspaper_v1&theme_name=' . TD_THEME_NAME, false, TD_COMPOSER );
} else {
wp_enqueue_style('td-legacy-framework-admin-style', TDC_URL_LEGACY . '/assets/css/td_legacy_admin.css', false, TD_COMPOSER);
}
}, 11);
add_action('wp_enqueue_scripts', function () {
if ( td_util::is_mobile_theme() ) {
return;
}
// load the css
if ( TDC_DEPLOY_MODE == 'dev' ) {
wp_enqueue_style( 'td-legacy-framework-front-style-less', TDC_URL_LEGACY . '/td_less_style.css.php?part=style.css_td_legacy_newspaper_v1&theme_name=' . TD_THEME_NAME, false, TD_COMPOSER );
if ( class_exists('WooCommerce', false) && !defined( 'TD_WOO' ) ) {
wp_enqueue_style( 'td-legacy-framework-woo-style-less', TDC_URL_LEGACY . '/td_less_style.css.php?part=woocommerce', false, TD_COMPOSER );
}
} else {
wp_enqueue_style( 'td-legacy-framework-front-style', TDC_URL_LEGACY . '/assets/css/td_legacy_main.css', false, TD_COMPOSER );
if ( class_exists('WooCommerce', false) && !defined( 'TD_WOO' ) ) {
wp_enqueue_style('td-legacy-framework-woo-style', TDC_URL_LEGACY . '/assets/css/td_legacy_woocommerce.css' );
}
}
}, 1002);
if ( is_admin() ) {
/**
* generate the theme panel
*/
td_global::$all_theme_panels_list = array (
'theme_panel' => array (
'title' => TD_THEME_NAME . ' - Theme panel',
'subtitle' => 'version: ' . TD_THEME_VERSION,
'panels' => array (
'td-panel-header' => array(
'text' => 'HEADER',
'ico_class' => 'td-ico-header',
'file' => TDC_PATH_LEGACY_COMMON . '/wp_booster/wp-admin/panel/views/td_panel_header.php',
'type' => 'in_theme'
),
'td-panel-footer' => array(
'text' => 'FOOTER',
'ico_class' => 'td-ico-footer',
'file' => TDC_PATH_LEGACY_COMMON . '/wp_booster/wp-admin/panel/views/td_panel_footer.php',
'type' => 'in_theme'
),
'td-panel-ads' => array(
'text' => 'ADS',
'ico_class' => 'td-ico-ads',
'file' => TDC_PATH_LEGACY . '/includes/panel/views/td_panel_ads.php',
'type' => 'in_theme'
),
/* ----------------------------------------------------------------------------
layout settings
*/
'td-panel-separator-1' => array( // LAYOUT SETTINGS Separator
'text' => 'LAYOUT SETTINGS',
'type' => 'separator'
),
'td-panel-template-settings' => array(
'text' => 'TEMPLATE SETTINGS',
'ico_class' => 'td-ico-template',
'file' => TDC_PATH_LEGACY_COMMON . '/wp_booster/wp-admin/panel/views/td_panel_template_settings.php',
'type' => 'in_theme'
),
'td-panel-categories' => array(
'text' => 'CATEGORIES',
'ico_class' => 'td-ico-categories',
'file' => TDC_PATH_LEGACY_COMMON . '/wp_booster/wp-admin/panel/views/td_panel_categories.php',
'type' => 'in_theme'
),
'td-panel-post-settings' => array(
'text' => 'POST SETTINGS',
'ico_class' => 'td-ico-post',
'file' => TDC_PATH_LEGACY_COMMON . '/wp_booster/wp-admin/panel/views/td_panel_post_settings.php',
'type' => 'in_theme'
),
/* ----------------------------------------------------------------------------
misc
*/
'td-panel-separator-2' => array( // MISC Separator
'text' => 'MISC',
'type' => 'separator'
),
'td-panel-block-style' => array(
'text' => 'BLOCK SETTINGS',
'ico_class' => 'td-ico-block',
'file' => TDC_PATH_LEGACY . '/includes/panel/views/td_panel_block_settings.php',
'type' => 'in_theme'
),
'td-panel-background' => array(
'text' => 'BACKGROUND',
'ico_class' => 'td-ico-background',
'file' => TDC_PATH_LEGACY_COMMON . '/wp_booster/wp-admin/panel/views/td_panel_background.php',
'type' => 'in_theme'
),
'td-panel-excerpts' => array(
'text' => 'EXCERPTS',
'ico_class' => 'td-ico-excerpts',
'file' => TDC_PATH_LEGACY_COMMON . '/wp_booster/wp-admin/panel/views/td_panel_excerpts.php',
'type' => 'in_theme'
),
'td-panel-translates' => array(
'text' => 'TRANSLATIONS',
'ico_class' => 'td-ico-translation',
'file' => TDC_PATH_LEGACY_COMMON . '/wp_booster/wp-admin/panel/views/td_panel_translations.php',
'type' => 'in_theme'
),
'td-panel-theme-colors' => array(
'text' => 'THEME COLORS',
'ico_class' => 'td-ico-color',
'file' => TDC_PATH_LEGACY . '/includes/panel/views/td_panel_theme_colors.php',
'type' => 'in_theme'
),
'td-panel-theme-fonts' => array(
'text' => 'THEME FONTS',
'ico_class' => 'td-ico-typography',
'file' => TDC_PATH_LEGACY . '/includes/panel/views/td_panel_theme_fonts.php',
'type' => 'in_theme'
),
'td-panel-custom-code' => array(
'text' => 'CUSTOM CODE',
'ico_class' => 'td-ico-code',
'file' => TDC_PATH_LEGACY_COMMON . '/wp_booster/wp-admin/panel/views/td_panel_custom_code.php',
'type' => 'in_theme'
),
'td-panel-analytics' => array(
'text' => 'ANALYTICS/JS CODES',
'ico_class' => 'td-ico-analytics',
'file' => TDC_PATH_LEGACY_COMMON . '/wp_booster/wp-admin/panel/views/td_panel_analytics.php',
'type' => 'in_theme'
),
'td-panel-social-networks' => array(
'text' => 'SOCIAL/APIs',
'ico_class' => 'td-ico-social',
'file' => TDC_PATH_LEGACY_COMMON . '/wp_booster/wp-admin/panel/views/td_panel_social_networks.php',
'type' => 'in_theme'
),
'td-panel-cpt-taxonomy' => array(
'text' => 'CPT & TAXONOMY',
'ico_class' => 'td-ico-cpt',
'file' => TDC_PATH_LEGACY_COMMON . '/wp_booster/wp-admin/panel/views/td_panel_cpt_taxonomy.php',
'type' => 'in_theme'
),
'td-link-1' => array( // MISC Separator
'text' => 'Import / export',
'url' => '?page=td_theme_panel&td_page=td_view_import_export_settings',
'type' => 'link'
)
)
)
);
/*
* the list with custom texts of the theme. admin texts
*/
td_api_text::set('text_featured_video', '
<div class="td-wpa-info">Paste a video link from Youtube, Vimeo, Dailymotion or Twitter it will be embedded in the post and the thumb used as the featured image of this post. <br/>You need to choose <strong>Video Format</strong> from above to use Featured Video.</div>
<div class="td-wpa-info remove-wpa-info"><strong>Notice:</strong> Use only with those post templates:
<ul>
<li>Post style default</li>
<li>Post style 1</li>
<li>Post style 2</li>
<li>Post style 9</li>
<li>Post style 10</li>
<li>Post style 11</li>
</ul>
<ul>
<li>Find more about this <a href="http://forum.tagdiv.com/featured-image-or-video/" target="_blank">feature</a></li>
</ul>
</div>'
);
td_api_text::set('text_featured_audio', '
<div class="td-wpa-info">Paste an audio link from SoundCloud it will be embedded in the post and the thumb used as the featured image of this post. <br/>You need to choose <strong>Audio Format</strong> from above to use Featured Audio.</div>'
);
td_api_text::set('text_header_logo',
'Text logo for header Style 9, Style 10 and Style 11:'
);
td_api_text::set('text_header_logo_description',
'The text logo is used only by Style 9, Style 10 and Style 11 - full menu + text logo. The other header styles use only images for logos'
);
td_api_text::set('text_header_logo_mobile',
'Style 4, Style 5, Style 6, Style 7, Style 8 or Style 12'
);
td_api_text::set('text_header_logo_mobile_image',
'140 x 48px'
);
td_api_text::set('text_header_logo_mobile_image_retina',
'280 x 96px'
);
td_api_text::set('text_smart_sidebar_widget_support', '
<p>From here you can enable and disable the smart sidebar on all the templates. The smart sidebar is an affix (sticky) sidebar that has auto resize and it scrolls with the content. The smart sidebar reverts back to a normal sidebar on iOS (iPad) and on mobile devices. The following shortcodes are not supported in the smart sidebar:</p>
<ul>
<li>News ticker</li>
</ul>
');
td_api_text::set('welcome_fast_start', 'The theme will try to install <strong>tagDiv Composer</strong> and <strong>tagDiv Social Counter</strong> plugins automatically. But you can also manually manage the plugins from our <a href="admin.php?page=td_theme_plugins">plugins panel</a>');
td_api_text::set('welcome_support_forum', '
<h2>Support forum</h2>
<p>We offer outstanding support through our forum. To get support first you need to register (create an account) and open a thread in the ' . TD_THEME_NAME . ' Section.</p>
<a class="button button-primary" href="http://forum.tagdiv.com/" target="_blank">Open forum</a>'
);
td_api_text::set('welcome_docs', '
<h2>Docs and learning</h2>
<p>Our online documentation will give you important information about the theme. This is a exceptional resource to start discovering the theme’s true potential.</p>
<a class="button button-primary" href="https://tagdiv.com/category/documentation/" target="_blank">Open documentation</a>'
);
td_api_text::set('welcome_video_tutorials', '
<h2>Video tutorials</h2>
<p>We believe that the easiest way to learn is watching a video tutorial. We have a growing library of narrated video tutorials to help you do just that.</p>
<a class="button button-primary" href="https://www.youtube.com/user/tagdiv" target="_blank">View tutorials</a>'
);
/**
* the tiny mce image style list
*/
td_global::$tiny_mce_image_style_list = array(
'td_zoom_in_image_effect' => array(
'text' => 'Center Full Width',
'class' => 'td-center'
)
);
}
add_filter( 'theme_page_templates', function( $posts_templates ) {
$posts_templates = array_merge( $posts_templates, array(
'page-pagebuilder-latest.php' => 'Pagebuilder + latest articles + pagination',
'page-pagebuilder-overlay.php' => 'Pagebuilder + Overlay menu',
'page-pagebuilder-title.php' => 'Pagebuilder + page title',
) );
return $posts_templates;
});
add_filter( 'template_include', function( $template ) {
global $post;
if ( is_page() && ! td_util::is_mobile_theme() ) {
$templates = array(
'page-pagebuilder-latest.php' => 'Pagebuilder + latest articles + pagination',
'page-pagebuilder-overlay.php' => 'Pagebuilder + Overlay menu',
'page-pagebuilder-title.php' => 'Pagebuilder + page title',
);
if ( ! is_null( $post ) ) {
$current_template = get_post_meta( $post->ID, '_wp_page_template', true );
}
if ( empty( $current_template ) || ! array_key_exists( $current_template, $templates ) ) {
return $template;
}
$file_path = TDC_PATH_LEGACY . '/' . $current_template;
if ( file_exists( $file_path ) ) {
return $file_path;
}
}
return $template;
});
add_action('after_setup_theme', function() {
global $td_translation_map;
$td_translation_map = array(
'EXCLUSIVE' => __('EXCLUSIVE', 'newspaper'),
//top bar
'Tel:' => __('Tel:', 'newspaper'),
'Email:' => __('Email:', 'newspaper'),
//header search
'View all results' => __('View all results', 'newspaper'),
'No results' => __('No results', 'newspaper'),
'Home' => __('Home', 'newspaper'),
//mobile menu
'CLOSE' => __('CLOSE', 'newspaper'),
//mobile search
'Loading' => __('Loading', 'newspaper'),
'Here are the results for the search:' => __('Here are the results for the search:', 'newspaper'),
//title tag
'Page' => __('Page', 'newspaper'),
//blocks
'All' => __('All', 'newspaper'),
'By' => __('By', 'newspaper'),
'Load more' => __('Load more', 'newspaper'),
'Modified date:' => __('Modified date:', 'newspaper'),
'Modified date' => __('Modified date', 'newspaper'),
'Alphabetical A -> Z' => __('Alphabetical A -> Z', 'newspaper'),
'Oldest posts' => __('Oldest posts', 'newspaper'),
//breadcrumbs
'View all posts in' => __('View all posts in', 'newspaper'),
'Tags' => __('Tags', 'newspaper'),
//article / page
'Previous article' => __('Previous article', 'newspaper'),
'Next article' => __('Next article', 'newspaper'),
'Authors' => __('Authors', 'newspaper'),
'Author' => __('Author', 'newspaper'),
'RELATED ARTICLES' => __('RELATED ARTICLES', 'newspaper'), //on newspaper 4 it was: SIMILAR ARTICLES
'MORE FROM AUTHOR' => __('MORE FROM AUTHOR', 'newspaper'),
'VIA' => __('VIA', 'newspaper'), //on newspaper4 it was lowercase
'SOURCE' => __('SOURCE', 'newspaper'), //on newspaper4 it was lowercase
'TAGS' => __('TAGS', 'newspaper'),
'Share' => __('Share', 'newspaper'),
'SHARE' => __('SHARE', 'newspaper'),
'Continue' => __('Continue', 'newspaper'),
'Read more' => __('Read more', 'newspaper'),
'views' => __('views', 'newspaper'),
'Print' => __('Print', 'newspaper'),
//comments
'Name:' => __('Name:', 'newspaper'),
'Website:' => __('Website:', 'newspaper'),
'Comment:' => __('Comment:', 'newspaper'),
'LEAVE A REPLY' => __('LEAVE A REPLY', 'newspaper'), //on newspaper4 it was lowercase
'Post Comment' => __('Post Comment', 'newspaper'),
'Cancel reply' => __('Cancel reply', 'newspaper'),
'Reply' => __('Reply', 'newspaper'),
'Log in to leave a comment' => __('Log in to leave a comment', 'newspaper'),
'NO COMMENTS' => __('NO COMMENTS', 'newspaper'),
'1 COMMENT' => __('1 COMMENT', 'newspaper'),
'COMMENTS' => __('COMMENTS', 'newspaper'),
'Your comment is awaiting moderation' => __('Your comment is awaiting moderation', 'newspaper'),
'Please enter your name here' => __('Please enter your name here', 'newspaper'),
'Please enter your email address here' => __('Please enter your email address here', 'newspaper'),
'You have entered an incorrect email address!' => __('You have entered an incorrect email address!', 'newspaper'),
'Please enter your comment!' => __('Please enter your comment!', 'newspaper'),
'Logged in as' => __('Logged in as', 'newspaper'),
'Log out?' => __('Log out?', 'newspaper'),
'Logged in as %s. Edit your profile.' => __('Logged in as %s. Edit your profile.', 'newspaper'),
'Edit' => __('Edit', 'newspaper'),
'At' => __('At', 'newspaper'),
'on' => __('on', 'newspaper'),
'Comments are closed.' => __('Comments are closed.', 'newspaper'),
//review
'REVIEW OVERVIEW' => __('REVIEW OVERVIEW', 'newspaper'), //on newspaper4 it was lowercase
'SUMMARY' => __('SUMMARY', 'newspaper'), //on newspaper4 it was lowercase
'OVERALL SCORE' => __('OVERALL SCORE', 'newspaper'),
//404
'Ooops... Error 404' => __('Ooops... Error 404', 'newspaper'),
"Sorry, but the page you are looking for doesn_t exist." => __("Sorry, but the page you are looking for doesn't exist.", 'newspaper'),
'You can go to the' => __('You can go to the', 'newspaper'),
'HOMEPAGE' => __('HOMEPAGE', 'newspaper'),
'OUR LATEST POSTS' => __('OUR LATEST POSTS', 'newspaper'),
//author page title atribute
'Posts by' => __('Posts by', 'newspaper'),
'POSTS' => __('POSTS', 'newspaper'),
'Posts tagged with' => __('Posts tagged with', 'newspaper'),
'Tag' => __('Tag', 'newspaper'),
//archives
'Daily Archives:' => __('Daily Archives:', 'newspaper'),
'Monthly Archives:' => __('Monthly Archives:', 'newspaper'),
'Yearly Archives:' => __('Yearly Archives:', 'newspaper'),
'Archives' => __('Archives', 'newspaper'),
//homepage
'LATEST ARTICLES' => __('LATEST ARTICLES', 'newspaper'),
//search page
'search results' => __('search results', 'newspaper'),
'Search' => __('Search', 'newspaper'),
"If you_re not happy with the results, please do another search" => __("If you're not happy with the results, please do another search", 'newspaper'),
//footer widget
'Contact us' => __('Contact us', 'newspaper'),
//footer instagram
'Follow us on Instagram' => __('Follow us on Instagram', 'newspaper'),
//pagination
'Page %CURRENT_PAGE% of %TOTAL_PAGES%' => __('Page %CURRENT_PAGE% of %TOTAL_PAGES%', 'newspaper'),
'Next' => __('Next', 'newspaper'),
'Prev' => __('Prev', 'newspaper'),
'Back' => __('Back', 'newspaper'),
'No results for your search' => __('No results for your search', 'newspaper'),
'No posts to display' => __('No posts to display', 'newspaper'),
//modal window
'LOG IN' => __('LOG IN', 'newspaper'),
'Sign in / Join' => __('Sign in / Join', 'newspaper'),
'Sign in' => __('Sign in', 'newspaper'),
'Sign up' => __('Sign up', 'newspaper'),
'Log in With Facebook' => __('Log in With Facebook', 'newspaper'),
'Join' => __('Join', 'newspaper'),
'Log In' => __('Log In', 'newspaper'),
'Login' => __('Login', 'newspaper'),
'REGISTER' => __('REGISTER', 'newspaper'),
'Welcome!' => __('Welcome!', 'newspaper'),
'Log into your account' => __('Log into your account', 'newspaper'),
'Password recovery' => __('Password recovery', 'newspaper'),
'Send My Pass' => __('Send My Pass', 'newspaper'),
'Send My Password' => __('Send My Password', 'newspaper'),
'Forgot your password?' => __('Forgot your password?', 'newspaper'),
'Forgot your password? Get help' => __('Forgot your password? Get help', 'newspaper'),
'Create an account' => __('Create an account', 'newspaper'),
'Please wait...' => __('Please wait...', 'newspaper'),
'User or password incorrect!' => __('User or password incorrect!', 'newspaper'),
'Email or username incorrect!' => __('Email or username incorrect!', 'newspaper'),
'Email incorrect!' => __('Email incorrect!', 'newspaper'),
'User or email already exists!' => __('User or email already exists!', 'newspaper'),
'Please check your email (inbox or spam folder), the password was sent there.' => __('Please check your email (inbox or spam folder), the password was sent there.', 'newspaper'),
'Email address not found!' => __('Email address not found!', 'newspaper'),
'Your password is reset, check your email.' => __('Your password is reset, check your email.', 'newspaper'),
'Welcome! Log into your account' => __('Welcome! Log into your account', 'newspaper'),
'Welcome! Register for an account' => __('Welcome! Register for an account', 'newspaper'),
'Register for an account' => __('Register for an account', 'newspaper'),
'Recover your password' => __('Recover your password', 'newspaper'),
'your username' => __('your username', 'newspaper'),
'your password' => __('your password', 'newspaper'),
'your email' => __('your email', 'newspaper'),
'A password will be e-mailed to you.' => __('A password will be e-mailed to you.', 'newspaper'),
'Logout' => __('Logout', 'newspaper'),
'CAPTCHA verification failed!' => __('CAPTCHA verification failed!', 'newspaper'),
'CAPTCHA user score failed. Please contact us!' => __('CAPTCHA user score failed. Please contact us!', 'newspaper'),
'Someone has requested a password reset for the following account:' => __('Someone has requested a password reset for the following account:', 'newspaper'),
'Username: %s' => __('Username: %s', 'newspaper'),
'If this was a mistake, just ignore this email and nothing will happen.' => __('If this was a mistake, just ignore this email and nothing will happen.', 'newspaper'),
'To reset your password, visit the following address:' => __('To reset your password, visit the following address:', 'newspaper'),
//social counters
'Like' => __('Like', 'newspaper'),
'Likes' => __('Likes', 'newspaper'),
'Fans' => __('Fans', 'newspaper'),
'Follow' => __('Follow', 'newspaper'),
'Followers' => __('Followers', 'newspaper'),
'Subscribe' => __('Subscribe', 'newspaper'),
'Subscribers' => __('Subscribers', 'newspaper'),
//more article box
'MORE STORIES' => __('MORE STORIES', 'newspaper'),
//filter drop down options on category page
'Latest' => __('Latest', 'newspaper'),
'Featured posts' => __('Featured posts', 'newspaper'),
'Most popular' => __('Most popular', 'newspaper'),
'7 days popular' => __('7 days popular', 'newspaper'),
'By review score' => __('By review score', 'newspaper'),
'Random' => __('Random', 'newspaper'),
'Trending Now' => __('Trending Now', 'newspaper'),
//used in Popular Category widget (td_block_popular_categories.php file)
'POPULAR CATEGORY' => __('POPULAR CATEGORY', 'newspaper'),
'POPULAR POSTS' => __('POPULAR POSTS', 'newspaper'),
'EDITOR PICKS' => __('EDITOR PICKS', 'newspaper'),
'ABOUT US' => __('ABOUT US', 'newspaper'),
'About me' => __('About me', 'newspaper'),
'FOLLOW US' => __('FOLLOW US', 'newspaper'),
'EVEN MORE NEWS' => __('EVEN MORE NEWS', 'newspaper'),
//magnific popup
'Previous (Left arrow key)' => __('Previous (Left arrow key)', 'newspaper'),
'Next (Right arrow key)' => __('Next (Right arrow key)', 'newspaper'),
'%curr% of %total%' => __('%curr% of %total%', 'newspaper'),
'The content from %url% could not be loaded.' => __('The content from %url% could not be loaded.', 'newspaper'),
'The image #%curr% could not be loaded.' => __('The image #%curr% could not be loaded.', 'newspaper'),
//blog
'Blog' => __('Blog', 'newspaper'),
'Share on Facebook' => __('Share on Facebook', 'newspaper'),
'Tweet on Twitter' => __('Tweet on Twitter', 'newspaper'),
'Featured' => __('Featured', 'newspaper'),
'All time popular' => __('All time popular', 'newspaper'),
'More' => __('More', 'newspaper'),
'Register' => __('Register', 'newspaper'),
'of' => __('of', 'newspaper'),
//exchange currencies
'Euro Member Countries' => __('Euro Member Countries', 'newspaper'),
'Australian Dollar' => __('Australian Dollar', 'newspaper'),
'Bulgarian Lev' => __('Bulgarian Lev', 'newspaper'),
'Brazilian Real' => __('Brazilian Real', 'newspaper'),
'Canadian Dollar' => __('Canadian Dollar', 'newspaper'),
'Swiss Franc' => __('Swiss Franc', 'newspaper'),
'Chinese Yuan Renminbi' => __('Chinese Yuan Renminbi', 'newspaper'),
'Czech Republic Koruna' => __('Czech Republic Koruna', 'newspaper'),
'Danish Krone' => __('Danish Krone', 'newspaper'),
'British Pound' => __('British Pound', 'newspaper'),
'Hong Kong Dollar' => __('Hong Kong Dollar', 'newspaper'),
'Croatian Kuna' => __('Croatian Kuna', 'newspaper'),
'Hungarian Forint' => __('Hungarian Forint', 'newspaper'),
'Indonesian Rupiah' => __('Indonesian Rupiah', 'newspaper'),
'Israeli Shekel' => __('Israeli Shekel', 'newspaper'),
'Indian Rupee' => __('Indian Rupee', 'newspaper'),
'Japanese Yen' => __('Japanese Yen', 'newspaper'),
'Korean (South) Won' => __('Korean (South) Won', 'newspaper'),
'Mexican Peso' => __('Mexican Peso', 'newspaper'),
'Malaysian Ringgit' => __('Malaysian Ringgit', 'newspaper'),
'Norwegian Krone' => __('Norwegian Krone', 'newspaper'),
'New Zealand Dollar' => __('New Zealand Dollar', 'newspaper'),
'Philippine Peso' => __('Philippine Peso', 'newspaper'),
'Polish Zloty' => __('Polish Zloty', 'newspaper'),
'Romanian (New) Leu' => __('Romanian (New) Leu', 'newspaper'),
'Russian Ruble' => __('Russian Ruble', 'newspaper'),
'Swedish Krona' => __('Swedish Krona', 'newspaper'),
'Singapore Dollar' => __('Singapore Dollar', 'newspaper'),
'Thai Baht' => __('Thai Baht', 'newspaper'),
'Turkish Lira' => __('Turkish Lira', 'newspaper'),
'United States Dollar' => __('United States Dollar', 'newspaper'),
'South African Rand' => __('South African Rand', 'newspaper'),
'Save my name, email, and website in this browser for the next time I comment.' => __('Save my name, email, and website in this browser for the next time I comment.', 'newspaper'),
'Privacy Policy' => 'Privacy Policy',
// woocommerce
'My account' => __('My account', 'newspaper'),
'Orders' => __('Orders', 'newspaper'),
'Downloads' => __('Downloads', 'newspaper'),
'Addresses' => __('Addresses', 'newspaper'),
'Account settings' => __('Account settings', 'newspaper'),
'Hello' => __('Hello', 'newspaper'),
'No products in the cart.' => __('No products in the cart.', 'newspaper'),
'Product categories' => __('Product categories', 'newspaper'),
'Product tags' => __('Product tags', 'newspaper'),
'inc. TAX' => __('inc. TAX', 'newspaper'),
'ex. TAX' => __('ex. TAX', 'newspaper'),
//post submit form
'An unexpected error has occured while trying to create your post. Please try again.' => __('An unexpected error has occured while trying to create your post. Please try again.', 'newspaper'),
'Your post has been successfully created.' => __('Your post has been successfully created.', 'newspaper'),
'Your post has been successfully updated.' => __('Your post has been successfully updated.', 'newspaper'),
'An unexpected error has occurred and the mail could not be sent.' => __('An unexpected error has occurred and the mail could not be sent.', 'newspaper'),
'Location:' => __('Location:', 'newspaper'),
'The email has been successfully sent.' => __('The email has been successfully sent.', 'newspaper'),
'The status for the selected post has been changed to "Published' => __('The status for the selected post has been changed to "Published', 'newspaper'),
'An unexpected error has occurred. Please try again.' => __('An unexpected error has occurred. Please try again.', 'newspaper'),
'Drag and drop or browse' => __('Drag and drop or browse', 'newspaper'),
// Reviews system
'Posted by' => __('Posted by', 'newspaper'),
'Overall' => __('Overall', 'newspaper'),
'Post review' => __('Post review', 'newspaper'),
'This field is required!' => __('This field is required!', 'newspaper'),
'Your review has been published. Please refresh the page in order to see it.' => __('Your review has been published. Please refresh the page in order to see it.', 'newspaper'),
'Your review has been registered and is awaiting approval.' => __('Your review has been registered and is awaiting approval.', 'newspaper'),
'Submit reply' => __('Submit reply', 'newspaper'),
'Enter your reply' => __('Enter your reply', 'newspaper'),
'Name' => __('Name', 'newspaper'),
'Email address' => __('Email address', 'newspaper'),
'Cancel' => __('Cancel', 'newspaper'),
'Some required fields have been left blank.' => __('Some required fields have been left blank.', 'newspaper'),
'Please enter a valid email address.' => __('Please enter a valid email address.', 'newspaper'),
'The number cannot be lower than' => __('The number cannot be lower than', 'newspaper'),
'The number cannot be higher than' => __('The number cannot be higher than', 'newspaper'),
'Leave a review' => __('Leave a review', 'newspaper'),
'Submit' => __('Submit', 'newspaper'),
'Update' => __('Update', 'newspaper'),
'You have reached your limit of posting new articles.' => __('You have reached your limit of posting new articles.', 'newspaper'),
'out of 5' => __('out of 5', 'newspaper'),
'You have reached the limit of reviews that you can submit for this article' => __('You have reached the limit of reviews that you can submit for this article', 'newspaper'),
'Log in to leave a review.' => __('Log in to leave a review.', 'newspaper'),
'Enter a title for your review' => __('Enter a title for your review', 'newspaper'),
'Enter your review' => __('Enter your review', 'newspaper'),
'Review criteria' => __('Review criteria', 'newspaper'),
'Enter Your Name or Company' => __('Enter Your Name or Company', 'newspaper'),
'Submit review' => __('Submit review', 'newspaper'),
'Delete' => __('Delete', 'newspaper'),
'Your reply has been published. Please refresh the page in order to see it.' => __('Your reply has been published. Please refresh the page in order to see it.', 'newspaper'),
//Posts List
'You have not created any posts.' => __('You have not created any posts.', 'newspaper'),
'The selected post has been successfully deleted.' => __('The selected post has been successfully deleted.', 'newspaper'),
'ID' => __('ID', 'newspaper'),
'Rating' => __('Rating', 'newspaper'),
'Title' => __('Title', 'newspaper'),
'Post image' => __('Post image', 'newspaper'),
'Categories' => __('Categories', 'newspaper'),
'Tags' => __('Tags', 'newspaper'),
'Date' => __('Date', 'newspaper'),
'Author' => __('Author', 'newspaper'),
'Source title' => __('Source title', 'newspaper'),
'No rating' => __('No rating', 'newspaper'),
'View' => __('View', 'newspaper'),
'Publish' => __('Publish', 'newspaper'),
'Delete' => __('Delete', 'newspaper'),
'Add new post' => __('Add new post', 'newspaper'),
'Edit post' => __('Edit post', 'newspaper'),
'Publish a post' => __('Publish a post', 'newspaper'),
'The status for %POST_TITLE% has been changed.' => __('The status for %POST_TITLE% has been changed.', 'newspaper'),
'Are you sure you want to publish %POST_TITLE%?' => __('Are you sure you want to publish %POST_TITLE%?', 'newspaper'),
'Delete a post' => __('Delete a post', 'newspaper'),
'Are you sure you want to delete %POST_TITLE%?' => __('Are you sure you want to delete %POST_TITLE%?', 'newspaper'),
'%POST_TITLE% has been moved to trash.' => __('%POST_TITLE% has been moved to trash.', 'newspaper'),
'You do not hold the required priveleges to execute this request.' => __('You do not hold the required privileges to execute this request.', 'newspaper'),
'No search results.' => __('No search results.', 'newspaper'),
// Modals
'Yes' => __('Yes', 'newspaper'),
'No' => __('No', 'newspaper'),
'Cancel' => __('Cancel', 'newspaper'),
'Save' => __('Save', 'newspaper'),
//Location form
'Search for a location' => __('Search for a location', 'newspaper'),
'Address line' => __('Address line', 'newspaper'),
'(Optional)' => __('(Optional)', 'newspaper'),
'City' => __('City', 'newspaper'),
'State' => __('State', 'newspaper'),
'Country' => __('Country', 'newspaper'),
'State' => __('State', 'newspaper'),
'State' => __('State', 'newspaper'),
// Form taxonomies
'Create new term' => __('Create new term', 'newspaper'),
'Parent' => __('Parent', 'newspaper'),
'Description' => __('Description', 'newspaper'),
);
}, 11);
}
/**
* This array is used to add the custom_title and custom_url of the block, it also loads the atts from the current global td_block_template
* on visual composer we remove the block_template_id att in the UI @see td_vc_edit_form_fields_after_render
* @return array
*/
static function get_map_block_general_array() {
$map_block_general_array = array();
$map_block_general_array[] = array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Header settings',
"value" => "",
"class" => "",
);
$map_block_general_array[] = array(
"param_name" => "custom_title",
"type" => "textfield",
"value" => "",
"heading" => 'Custom title:',
"description" => "Optional - a title for this block, if you leave it blank the block will not have a title",
"holder" => "div",
"class" => "tdc-textfield-extrabig",
"info_img" => "https://cloud.tagdiv.com/help/custom_title.png",
// 'live' => 1,
);
$map_block_general_array[] = 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",
);
$map_block_general_array[] = array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
);
$map_block_general_array[] = array(
"param_name" => "block_template_id",
"type" => "dropdown",
"value" => td_util::get_block_template_ids(),
"heading" => 'Header template:',
"description" => "Header template used by the current block",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/header_template.png",
);
return $map_block_general_array;
}
/**
* the filter array (used by blocks and by the loop filters)
* @return array
*/
static function get_map_filter_array ($group = 'Filter', $show_locked_only = false, $block_class = '') {
// sorting options
$sorting_options_array = array (
'- Latest -' => '',
'Oldest posts' => 'oldest_posts',
'Modified date' => 'modified_date',
'Alphabetical A -> Z' => 'alphabetical_order',
'Popular (all time)' => 'popular',
'Popular (jetpack + stats module required) Does not work with other settings/pagination' => 'jetpack_popular_2',
'Featured' => 'featured',
'Highest rated (reviews)' => 'review_high',
'Random Posts' => 'random_posts',
'Random posts Today' => 'random_today' ,
'Random posts from last 7 Days' => 'random_7_day' ,
'Most Commented' => 'comment_count'
);
// add the popular last 24/48 hours filter(sorting) option if it's enabled from panel
if ( td_util::get_option('tds_p_enable_7_days_count') === 'enabled' ) {
$sorting_options_array = td_util::array_insert_after(
$sorting_options_array,
'Popular (all time)',
array(
'Popular (last 24hrs)' => 'popular1',
'Popular (last 48hrs)' => 'popular2',
'Popular (last 7 days)' => 'popular7',
)
);
} else {
$sorting_options_array = td_util::array_insert_after(
$sorting_options_array,
'Popular (all time)',
array(
'-- Popular (last 7 days) - theme counter (enable from panel BLOCK SETTINGS -> 7 days post sorting ) --' => '__',
'-- Popular (last 24hrs) - theme counter (enable from panel BLOCK SETTINGS -> 7 days post sorting ) --' => '__',
'-- Popular (last 48hrs) - theme counter (enable from panel BLOCK SETTINGS -> 7 days post sorting ) --' => '__',
)
);
}
$filter_array = array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Filters',
"value" => "",
"class" => "",
'group' => $group
),
array(
"param_name" => "post_ids",
"type" => "textfield",
"value" => '',
"heading" => 'Post ID filter:',
"description" => "Filter multiple posts by ID. Enter here the post IDs separated by commas (ex: 10,27,233). To exclude posts from this block add them with '-' (ex: -7, -16)",
"holder" => "div",
"class" => "tdc-textfield-big",
'group' => $group
),
array(
"param_name" => "category_id",
"type" => "dropdown",
"value" => td_util::get_category2id_array(),
"heading" => 'Category filter:',
"description" => "A single category filter. If you want to filter multiple categories, use the 'Multiple taxonomies filter' and leave this to default",
"holder" => "div",
"class" => "tdc-dropdown-big",
'group' => $group,
'toggle_enable_params' => 'category_id',
),
array(
"param_name" => "taxonomies",
"type" => "textfield",
"value" => '',
"heading" => 'Single - Related from taxonomies:',
"description" => "This option applies when using this block on single posts or custom post types cloud templates, you can use this option to display posts or cpts related with the viewed post(cpt) but only form the taxonomies slugs you set here. Enter here the post/cpts taxonomies slugs separated by commas ( for example for `movie` cpt you can enter the slugs for the `Actors` or `Genre` taxonomies: actors,genre ).",
"holder" => "div",
"class" => "tdc-textfield-big",
'toggle_enabled_by' => 'category_id--_related_tax',
'group' => $group
),
array(
"param_name" => "category_ids",
"type" => "textfield",
"value" => '',
"heading" => 'Multiple terms filter:',
"description" => "Filter from multiple taxonomies terms by term ID. Enter here the taxonomy term IDs separated by commas (ex: 13,23,18). Please note that in order to get accurate results when using terms IDs to filter from multiple taxonomies, you also need to use the post type filter to set all post types related to the taxonomies terms you've used. To exclude, add the taxonomy term id with '-' (ex: -9, -10)",
"holder" => "div",
"class" => "tdc-textfield-big",
'group' => $group
),
array(
"param_name" => "in_all_terms",
"type" => "checkbox",
"value" => '',
"heading" => "Posts(cpts) must belong to all terms",
"description" => "Displayed posts(cpts) must belong to all taxonomies terms.",
"holder" => "div",
"class" => "",
"group" => $group,
),
array(
"param_name" => "tag_slug",
"type" => "textfield",
"value" => '',
"heading" => 'Filter by tag slug:',
"description" => "To filter multiple tag slugs, enter here the tag slugs separated by commas (ex: tag1,tag2,tag3). To exclude posts from specific tags use '-' before the slug (ex: -tag1,-tag2,-tag3)",
"holder" => "div",
"class" => "tdc-textfield-big",
'group' => $group
),
array(
"param_name" => "autors_id",
"type" => "textfield",
"value" => '',
"heading" => "Multiple authors filter:",
"description" => "Filter multiple authors by ID. Enter here the author IDs separated by commas (ex: 13,23,18).",
"holder" => "div",
"class" => "tdc-textfield-big",
'group' => $group
),
array(
"param_name" => "installed_post_types",
"type" => "textfield",
"value" => '',//tdUtil::create_array_installed_post_types(),
"heading" => 'Post Type:',
"description" => "Filter by post types. Usage: post, page, event - Write 1 or more post types delimited by commas",
"holder" => "div",
"class" => "tdc-textfield-big",
'group' => $group
),
array(
"param_name" => "sort",
"type" => "dropdown",
"value" => $sorting_options_array,
"heading" => 'Sort order:',
"description" => "How to sort the posts. Please note that the Popular (last 24-48hrs & 7 days) options are affected by caching plugins and CDNs. For popular posts we recommend the jetpack (24-48hrs) method",
"holder" => "div",
"class" => "tdc-dropdown-big",
'group' => $group
)
);
if( $show_locked_only ) {
$filter_array = apply_filters( 'td_composer_map_filter_array', $filter_array, $group );
}
$filter_array = array_merge(
$filter_array,
array(
// these are added to the main group
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Extra',
"value" => "",
"class" => "",
),
array(
"param_name" => "open_in_new_window",
"type" => "checkbox",
"value" => '',
"heading" => "Open posts in new tab",
"description" => "The posts will be opened in a new tab. This option adds target blank on image thumb and post title links.",
"holder" => "div",
"class" => ""
),
array(
"param_name" => "limit",
"type" => "textfield",
"value" => '5',
"heading" => 'Limit post number:',
"description" => "If the field is empty the limit post number will be the number from Wordpress settings -> Reading",
"holder" => "div",
"class" => "tdc-textfield-small",
"info_img" => "https://cloud.tagdiv.com/help/limit_post_number.png",
),
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",
"info_img" => "https://cloud.tagdiv.com/help/offset_posts.png",
)
)
);
if( !in_array( $block_class, array( 'td_flex_block_6', 'td_flex_block_mct' ) ) ) {
$filter_array = array_merge(
$filter_array,
array(
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" => "",
"info_img" => "https://cloud.tagdiv.com/help/show_modified_date.png",
),
array(
"param_name" => "time_ago",
"type" => "checkbox",
"value" => '',
"heading" => 'Enable time ago',
"description" => "Applicable only for posts newer than 7 days",
"holder" => "div",
"class" => "",
"info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png",
),
array(
"param_name" => "time_ago_add_txt",
"type" => "textfield",
"value" => 'ago',
"heading" => 'Time ago add. text',
"description" => "",
"placeholder" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
),
array(
"param_name" => "time_ago_txt_pos",
"type" => "checkbox",
"value" => '',
"heading" => 'Display additional text before the date',
"description" => "",
"holder" => "div",
"class" => "",
"info_img" => "",
)
)
);
}
$filter_array = array_merge(
$filter_array,
array(
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',
)
)
);
return $filter_array;
} // end get_map function
static function get_map_block_ajax_filter_array() {
return array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Ajax categories dropdown',
"value" => "",
"class" => "",
'group' => 'Filter'
),
// custom filter types
array(
"param_name" => "td_ajax_filter_type", // this is used to build the filter list (for example a list of categories from the id-s bellow)
"type" => "dropdown",
"value" => array('- No drop down ajax filter -' => '', 'Filter by categories' => 'td_category_ids_filter', 'Filter by taxonomies' => 'td_taxonomy_ids_filter', 'Filter by authors' => 'td_author_ids_filter', 'Filter by tag IDs' => 'td_tag_slug_filter', 'Filter by popularity (Featured | All time popular)' => 'td_popularity_filter_fa'),
"heading" => 'Filter type:',
"description" => "Show the ajax drop down filter. The ajax filters (except by popularity) require an additional parameter. If no ids are provided in the input below, the filter will show all the available items (ex: all authors, all categories etc..)",
"holder" => "div",
"class" => "tdc-dropdown-big",
'group' => 'Filter'
),
// filter by ids
array(
"param_name" => "td_ajax_filter_ids", // the ids that we will show in the list
"type" => "textfield",
"value" => '',
"heading" => 'Show the following IDs:',
"description" => "The ajax drop down shows only the (author ids, categories ids OR tag IDs) that you enter here separated by comas",
"holder" => "div",
"class" => "tdc-textfield-big",
'group' => 'Filter'
),
// default pull down text
array(
"param_name" => "td_filter_default_txt",
"type" => "textfield",
"value" => 'All',
"heading" => 'Filter dropdown text:',
"description" => "The default text for the first item from the drop down. The first item shows the default block settings (the settings from the Filter tab)",
"holder" => "div",
"class" => "tdc-textfield-big",
'group' => 'Filter'
),
array(
"param_name" => "td_ajax_preloading", // preloader settings
"type" => "dropdown",
"value" => array('- No preloading -' => '', 'Optimized preloading' => 'preload', 'Preload all' => 'preload_all'),
"heading" => 'Content preloading:',
"description" => "The content that is displayed when a user clicks on an ajax filter from the dropdown is preloaded on each pageview. WARNING: This feature consumes more resources on the server.",
"holder" => "div",
"class" => "tdc-dropdown-big",
'group' => 'Filter'
),
);
}
static function get_map_exclusive_label_array($index = '', $sep_small = false, $group = 'Layout') {
$label_array = array();
$label_array = apply_filters( 'td_composer_map_exclusive_label_array', $label_array, $index, $sep_small, $group );
return $label_array;
}
static function get_map_block_pagination_array($module_class = '') {
$block_pagination_array = array (
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Extra',
"value" => "",
"class" => "",
'group' => 'Filter'
),
array(
"param_name" => "ajax_pagination",
"type" => "dropdown",
"value" => array('- No pagination -' => '', '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' => 'Filter',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination.png",
),
array(
"param_name" => "ajax_pagination_next_prev_swipe",
"type" => "checkbox",
"value" => '',
"heading" => "Next Prev swipe",
"description" => "ONLY FOR NEXT PREV pagination: Adds the ability for the user to slide to the left or right to load more posts",
"holder" => "div",
"class" => "",
"group" => 'Filter',
),
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' => 'Filter'
),
array (
'param_name' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
);
if( in_array( $module_class, array( 'td_flex_block_6', 'td_flex_block_mct' ) ) ) {
$block_pagination_array = array_merge($block_pagination_array,
array(
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Filter',
),
array(
"param_name" => "pag_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Top space',
"description" => "",
"placeholder" => "20",
"holder" => "div",
"class" => "tdc-textfield-small",
'group' => 'Filter',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_space.png",
),
array(
"param_name" => "pag_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "",
"group" => "Filter",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_padding.png",
),
array(
"param_name" => "pag_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "1",
"group" => "Filter",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_border.png",
),
array(
"param_name" => "pag_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Filter",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_border_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Filter',
),
array(
'param_name' => 'prev_tdicon',
'type' => 'icon',
'heading' => 'Prev icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Filter',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
),
array(
'param_name' => 'next_tdicon',
'type' => 'icon',
'heading' => 'Next icon',
'class' => 'tdc-textfield-small',
'value' => '',
"group" => 'Filter',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow.png",
),
array(
"param_name" => "pag_icons_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Icons size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "",
"group" => "Filter",
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_arrow_size.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "tdc-separator-small",
'group' => 'Filter'
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Text color',
"param_name" => "pag_text",
"value" => '',
"description" => '',
"group" => 'Filter',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Text hover color',
"param_name" => "pag_h_text",
"value" => '',
"description" => '',
"group" => 'Filter',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Background color',
"param_name" => "pag_bg",
"value" => '',
"description" => '',
"group" => 'Filter',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Background hover color',
"param_name" => "pag_h_bg",
"value" => '',
"description" => '',
"group" => 'Filter',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Border color',
"param_name" => "pag_border",
"value" => '',
"description" => '',
"group" => 'Filter',
"info_img" => "https://cloud.tagdiv.com/help/module_pagination_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Border hover color',
"param_name" => "pag_h_border",
"value" => '',
"description" => '',
"group" => 'Filter',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Filter',
),
),
td_config_helper::get_map_block_font_array( 'f_pag', false, 'Pagination text', 'Filter', '', '', 'https://cloud.tagdiv.com/help/module_font_load_more.png', '' )
);
}
return $block_pagination_array;
}
// example copy/paste custom for components
static function get_list_style_params() {
return array(
'Title' => array(
'td_flex_block_1' => array(
'art_title',
'f_title_font_family',
array(
'f_title_font_size',
'',
),
array(
'f_title_font_line_height',
''
),
'f_title_font_style',
'f_title_font_weight',
'f_title_font_transform',
array(
'f_title_font_spacing',
''
),
'title_txt',
'title_txt_hover',
'all_underline_color',
'all_underline_height'
),
'td_flex_block_2' => array(
'art_title',
'f_title_font_family',
array(
'f_title_font_size',
'',
),
array(
'f_title_font_line_height',
''
),
'f_title_font_style',
'f_title_font_weight',
'f_title_font_transform',
array(
'f_title_font_spacing',
''
),
'title_txt',
'title_txt_hover',
'all_underline_color',
'all_underline_height'
),
'td_flex_block_3' => array(
array(
'art_title1',
'art_title2'
),
array(
'f_title1_font_family',
'f_title2_font_family'
),
array(
'f_title1_font_size',
'f_title2_font_size',
),
array(
'f_title1_font_line_height',
'f_title2_font_line_height',
),
array(
'f_title1_font_style',
'f_title2_font_style'
),
array(
'f_title1_font_weight',
'f_title2_font_weight'
),
array(
'f_title1_font_transform',
'f_title2_font_transform'
),
array(
'f_title1_font_spacing',
'f_title2_font_spacing'
),
'title_txt',
'title_txt_hover',
'all_underline_color',
array(
'all_underline_height1',
'all_underline_height2'
)
),
'td_flex_block_4' => array(
array(
'art_title1',
'art_title2'
),
array(
'f_title1_font_family',
'f_title2_font_family'
),
array(
'f_title1_font_size',
'f_title2_font_size',
),
array(
'f_title1_font_line_height',
'f_title2_font_line_height',
),
array(
'f_title1_font_style',
'f_title2_font_style'
),
array(
'f_title1_font_weight',
'f_title2_font_weight'
),
array(
'f_title1_font_transform',
'f_title2_font_transform'
),
array(
'f_title1_font_spacing',
'f_title2_font_spacing'
),
array(
'title_txt',
'title_txt2'
),
array(
'title_txt_hover',
'title_txt_hover2'
),
array(
'all_underline_color1',
'all_underline_color2'
),
array(
'all_underline_height1',
'all_underline_height2'
)
),
'td_flex_block_5' => array(
'art_title',
'f_title_font_family',
array(
'f_title_font_size',
'',
),
array(
'f_title_font_line_height',
''
),
'f_title_font_style',
'f_title_font_weight',
'f_title_font_transform',
array(
'f_title_font_spacing',
''
),
'title_txt',
'title_txt_hover',
'all_underline_color',
'all_underline_height'
),
'tdb_header_menu' => array(
'art_title',
'f_title_font_family',
array(
'f_title_font_size',
'',
),
array(
'f_title_font_line_height',
''
),
'f_title_font_style',
'f_title_font_weight',
'f_title_font_transform',
array(
'f_title_font_spacing',
''
),
'title_txt',
'title_txt_hover',
'all_underline_color',
'all_underline_height'
),
'tdb_header_search' => array(
'art_title',
'f_title_font_family',
array(
'f_title_font_size',
'',
),
array(
'f_title_font_line_height',
''
),
'f_title_font_style',
'f_title_font_weight',
'f_title_font_transform',
array(
'f_title_font_spacing',
''
),
'title_txt',
'title_txt_hover',
'all_underline_color',
'all_underline_height'
),
'tdb_loop' => array(
'art_title',
'f_title_font_family',
array(
'f_title_font_size',
'',
),
array(
'f_title_font_line_height',
''
),
'f_title_font_style',
'f_title_font_weight',
'f_title_font_transform',
array(
'f_title_font_spacing',
''
),
'title_txt',
'title_txt_hover',
'all_underline_color',
'all_underline_height'
),
'tdb_loop_2' => array(
'art_title',
'f_title_font_family',
array(
'f_title_font_size',
'',
),
array(
'f_title_font_line_height',
''
),
'f_title_font_style',
'f_title_font_weight',
'f_title_font_transform',
array(
'f_title_font_spacing',
''
),
'title_txt',
'title_txt_hover',
'all_underline_color',
'all_underline_height'
),
'tdb_single_related' => array(
'art_title',
'f_title_font_family',
array(
'f_title_font_size',
'',
),
array(
'f_title_font_line_height',
''
),
'f_title_font_style',
'f_title_font_weight',
'f_title_font_transform',
array(
'f_title_font_spacing',
''
),
'title_txt',
'title_txt_hover',
'all_underline_color',
'all_underline_height'
),
'tdb_single_related_author' => array(
'art_title',
'f_title_font_family',
array(
'f_title_font_size',
'',
),
array(
'f_title_font_line_height',
''
),
'f_title_font_style',
'f_title_font_weight',
'f_title_font_transform',
array(
'f_title_font_spacing',
''
),
'title_txt',
'title_txt_hover',
'',
''
)
),
'Image' => array(
'td_flex_block_1' => array(
array(
'image_alignment',
''
),
array(
'image_height',
''
),
array(
'image_radius',
''
),
array(
'video_icon',
''
),
'',
'',
'',
''
),
'td_flex_block_2' => array(
array(
'image_alignment',
''
),
'',
array(
'image_radius',
''
),
array(
'video_icon',
''
),
'video_icon_pos',
'image_margin',
'image_margin_right',
'image_margin_forced'
),
'td_flex_block_3' => array(
array(
'image_alignment1',
'image_alignment2',
),
array(
'image_height1',
'image_height2',
),
array(
'image_radius1',
'image_radius2',
),
array(
'video_icon1',
'video_icon2',
),
'',
'',
'',
''
),
'td_flex_block_4' => array(
array(
'image_alignment1',
'image_alignment2',
),
array(
'image_height1',
'image_height2',
),
array(
'image_radius1',
'image_radius2',
),
array(
'video_icon1',
'video_icon2',
),
array(
'video_icon_pos1',
''
),
'',
'',
''
),
'td_flex_block_5' => array(
array(
'image_alignment',
''
),
array(
'image_height',
''
),
array(
'image_radius',
''
),
array(
'video_icon',
''
),
'',
'',
'',
''
),
'tdb_header_menu' => array(
array(
'image_alignment',
''
),
array(
'image_height',
''
),
array(
'image_radius',
''
),
array(
'video_icon',
''
),
'',
'',
'',
''
),
'tdb_header_search' => array(
array(
'image_alignment',
''
),
array(
'image_height',
''
),
array(
'image_radius',
''
),
array(
'video_icon',
''
),
'',
'',
'',
''
),
'tdb_loop' => array(
'',
array(
'image_height',
''
),
array(
'image_radius',
''
),
array(
'video_icon',
''
),
'',
'',
'',
''
),
'tdb_loop_2' => array(
array(
'image_alignment',
''
),
array(
'image_height',
''
),
array(
'image_radius',
''
),
array(
'video_icon',
''
),
'',
'',
'',
''
),
'tdb_single_related' => array(
array(
'image_alignment',
''
),
array(
'image_height',
''
),
array(
'image_radius',
''
),
array(
'video_icon',
''
),
'',
'',
'',
''
),
'tdb_single_related_author' => array(
array(
'image_alignment',
''
),
array(
'image_height',
''
),
array(
'image_radius',
''
),
array(
'video_icon',
''
),
'',
'',
'',
''
)
),
'Category tag' => array(
'td_flex_block_1' => array(
'modules_category',
'modules_category_margin',
'modules_category_padding',
'modules_cat_border',
'modules_category_radius',
'f_cat_font_family',
'f_cat_font_size',
'f_cat_font_line_height',
'f_cat_font_style',
'f_cat_font_weight',
'f_cat_font_transform',
'f_cat_font_spacing',
'cat_bg',
'cat_bg_hover',
'cat_txt',
'cat_txt_hover',
'cat_border',
'cat_border_hover'
),
'td_flex_block_2' => array(
'modules_category',
'modules_category_margin',
'modules_category_padding',
'modules_cat_border',
'modules_category_radius',
'f_cat_font_family',
'f_cat_font_size',
'f_cat_font_line_height',
'f_cat_font_style',
'f_cat_font_weight',
'f_cat_font_transform',
'f_cat_font_spacing',
'cat_bg',
'cat_bg_hover',
'cat_txt',
'cat_txt_hover',
'cat_border',
'cat_border_hover'
),
'td_flex_block_3' => array(
array(
'modules_category',
'modules_category2'
),
array(
'modules_category_margin1',
'modules_category_margin2'
),
array(
'modules_category_padding1',
'modules_category_padding2'
),
array(
'modules_cat_border1',
'modules_cat_border2'
),
array(
'modules_category_radius1',
'modules_category_radius2'
),
array(
'f_cat1_font_family',
'f_cat2_font_family',
),
array(
'f_cat1_font_size',
'f_cat2_font_size',
),
array(
'f_cat1_font_line_height',
'f_cat2_font_line_height',
),
array(
'f_cat1_font_style',
'f_cat2_font_style',
),
array(
'f_cat1_font_weight',
'f_cat2_font_weight',
),
array(
'f_cat1_font_transform',
'f_cat2_font_transform',
),
array(
'f_cat1_font_spacing',
'f_cat2_font_spacing',
),
'cat_bg',
'cat_bg_hover',
'cat_txt',
'cat_txt_hover',
'cat_border',
'cat_border_hover'
),
'td_flex_block_4' => array(
array(
'modules_category',
'modules_category3'
),
array(
'modules_category_margin1',
'modules_category_margin2'
),
array(
'modules_category_padding1',
'modules_category_padding2'
),
array(
'modules_cat_border1',
'modules_cat_border2'
),
array(
'modules_category_radius1',
'modules_category_radius2'
),
array(
'f_cat1_font_family',
'f_cat2_font_family',
),
array(
'f_cat1_font_size',
'f_cat2_font_size',
),
array(
'f_cat1_font_line_height',
'f_cat2_font_line_height',
),
array(
'f_cat1_font_style',
'f_cat2_font_style',
),
array(
'f_cat1_font_weight',
'f_cat2_font_weight',
),
array(
'f_cat1_font_transform',
'f_cat2_font_transform',
),
array(
'f_cat1_font_spacing',
'f_cat2_font_spacing',
),
array(
'cat_bg',
'cat_bg2',
),
array(
'cat_bg_hover',
'cat_bg_hover2',
),
array(
'cat_txt',
'cat_txt2',
),
array(
'cat_txt_hover',
'cat_txt_hover2',
),
array(
'cat_border1',
'cat_border2',
),
array(
'cat_border_hover1',
'cat_border_hover2'
)
),
'td_flex_block_5' => array(
'modules_category',
'modules_category_margin',
'modules_category_padding',
'modules_cat_border',
'modules_category_radius',
'f_cat_font_family',
'f_cat_font_size',
'f_cat_font_line_height',
'f_cat_font_style',
'f_cat_font_weight',
'f_cat_font_transform',
'f_cat_font_spacing',
'cat_bg',
'cat_bg_hover',
'cat_txt',
'cat_txt_hover',
'cat_border',
'cat_border_hover'
),
'tdb_header_menu' => array(
'modules_category',
'modules_category_margin',
'modules_category_padding',
'modules_cat_border',
'modules_category_radius',
'f_cat_font_family',
'f_cat_font_size',
'f_cat_font_line_height',
'f_cat_font_style',
'f_cat_font_weight',
'f_cat_font_transform',
'f_cat_font_spacing',
'cat_bg',
'cat_bg_hover',
'cat_txt',
'cat_txt_hover',
'cat_border',
'cat_border_hover'
),
'tdb_header_search' => array(
'modules_category',
'modules_category_margin',
'modules_category_padding',
'modules_cat_border',
'modules_category_radius',
'f_cat_font_family',
'f_cat_font_size',
'f_cat_font_line_height',
'f_cat_font_style',
'f_cat_font_weight',
'f_cat_font_transform',
'f_cat_font_spacing',
'cat_bg',
'cat_bg_hover',
'cat_txt',
'cat_txt_hover',
'cat_border',
'cat_border_hover'
),
'tdb_loop' => array(
'modules_category',
'modules_category_margin',
'modules_category_padding',
'modules_cat_border',
'modules_category_radius',
'f_cat_font_family',
'f_cat_font_size',
'f_cat_font_line_height',
'f_cat_font_style',
'f_cat_font_weight',
'f_cat_font_transform',
'f_cat_font_spacing',
'cat_bg',
'cat_bg_hover',
'cat_txt',
'cat_txt_hover',
'cat_border',
'cat_border_hover'
),
'tdb_loop_2' => array(
'modules_category',
'modules_category_margin',
'modules_category_padding',
'modules_cat_border',
'modules_category_radius',
'f_cat_font_family',
'f_cat_font_size',
'f_cat_font_line_height',
'f_cat_font_style',
'f_cat_font_weight',
'f_cat_font_transform',
'f_cat_font_spacing',
'cat_bg',
'cat_bg_hover',
'cat_txt',
'cat_txt_hover',
'cat_border',
'cat_border_hover'
),
'tdb_single_related' => array(
'modules_category',
'modules_category_margin',
'modules_category_padding',
'modules_cat_border',
'modules_category_radius',
'f_cat_font_family',
'f_cat_font_size',
'f_cat_font_line_height',
'f_cat_font_style',
'f_cat_font_weight',
'f_cat_font_transform',
'f_cat_font_spacing',
'cat_bg',
'cat_bg_hover',
'cat_txt',
'cat_txt_hover',
'cat_border',
'cat_border_hover'
),
'tdb_single_related_author' => array(
'modules_category',
'modules_category_margin',
'modules_category_padding',
'modules_cat_border',
'modules_category_radius',
'f_cat_font_family',
'f_cat_font_size',
'f_cat_font_line_height',
'f_cat_font_style',
'f_cat_font_weight',
'f_cat_font_transform',
'f_cat_font_spacing',
'cat_bg',
'cat_bg_hover',
'cat_txt',
'cat_txt_hover',
'cat_border',
'cat_border_hover'
)
),
'Meta info' => array(
'td_flex_block_1' => array(
'author_photo_size',
'author_photo_space',
'author_photo_radius',
'review_size',
'f_meta_font_family',
array(
'f_meta_font_size',
''
),
array(
'f_meta_font_line_height',
''
),
'f_meta_font_style',
'f_meta_font_weight',
'f_meta_font_transform',
array(
'f_meta_font_spacing',
''
),
'author_txt',
'author_txt_hover',
'date_txt',
'com_bg',
'com_txt',
'rev_txt'
),
'td_flex_block_2' => array(
'',
'',
'',
'review_size',
'f_meta_font_family',
array(
'f_meta_font_size',
''
),
array(
'f_meta_font_line_height',
''
),
'f_meta_font_style',
'f_meta_font_weight',
'f_meta_font_transform',
array(
'f_meta_font_spacing',
''
),
'author_txt',
'author_txt_hover',
'date_txt',
'com_bg',
'com_txt',
''
),
'td_flex_block_3' => array(
array(
'author_photo_size1',
'author_photo_size2'
),
array(
'author_photo_space1',
'author_photo_space2'
),
array(
'author_photo_radius1',
'author_photo_radius2'
),
array(
'review_size1',
'review_size2'
),
array(
'f_meta1_font_family',
'f_meta2_font_family',
),
array(
'f_meta1_font_size',
'f_meta2_font_size',
),
array(
'f_meta1_font_line_height',
'f_meta2_font_line_height',
),
array(
'f_meta1_font_style',
'f_meta2_font_style',
),
array(
'f_meta1_font_weight',
'f_meta2_font_weight',
),
array(
'f_meta1_font_transform',
'f_meta2_font_transform',
),
array(
'f_meta1_font_spacing',
'f_meta2_font_spacing',
),
'author_txt',
'author_txt_hover',
'date_txt',
'com_bg',
'com_txt',
''
),
'td_flex_block_4' => array(
array(
'author_photo_size1',
'author_photo_size2'
),
array(
'author_photo_space1',
'author_photo_space2'
),
array(
'author_photo_radius1',
'author_photo_radius2'
),
array(
'review_size1',
'review_size2'
),
array(
'f_meta1_font_family',
'f_meta2_font_family',
),
array(
'f_meta1_font_size',
'f_meta2_font_size',
),
array(
'f_meta1_font_line_height',
'f_meta2_font_line_height',
),
array(
'f_meta1_font_style',
'f_meta2_font_style',
),
array(
'f_meta1_font_weight',
'f_meta2_font_weight',
),
array(
'f_meta1_font_transform',
'f_meta2_font_transform',
),
array(
'f_meta1_font_spacing',
'f_meta2_font_spacing',
),
array(
'author_txt',
'author_txt2',
),
array(
'author_txt_hover',
'author_txt_hover2',
),
array(
'date_txt',
'date_txt2',
),
array(
'com_bg',
'com_bg2',
),
array(
'com_txt',
'com_txt2'
),
''
),
'td_flex_block_5' => array(
'author_photo_size',
'author_photo_space',
'author_photo_radius',
'review_size',
'f_meta_font_family',
array(
'f_meta_font_size',
''
),
array(
'f_meta_font_line_height',
''
),
'f_meta_font_style',
'f_meta_font_weight',
'f_meta_font_transform',
array(
'f_meta_font_spacing',
''
),
'author_txt',
'author_txt_hover',
'date_txt',
'com_bg',
'com_txt',
'rev_txt'
),
'tdb_header_menu' => array(
'author_photo_size',
'author_photo_space',
'author_photo_radius',
'review_size',
'f_meta_font_family',
array(
'f_meta_font_size',
''
),
array(
'f_meta_font_line_height',
''
),
'f_meta_font_style',
'f_meta_font_weight',
'f_meta_font_transform',
array(
'f_meta_font_spacing',
''
),
'author_txt',
'author_txt_hover',
'date_txt',
'com_bg',
'com_txt',
'rev_txt'
),
'tdb_header_search' => array(
'author_photo_size',
'author_photo_space',
'author_photo_radius',
'review_size',
'f_meta_font_family',
array(
'f_meta_font_size',
''
),
array(
'f_meta_font_line_height',
''
),
'f_meta_font_style',
'f_meta_font_weight',
'f_meta_font_transform',
array(
'f_meta_font_spacing',
''
),
'author_txt',
'author_txt_hover',
'date_txt',
'com_bg',
'com_txt',
'rev_txt'
),
'tdb_loop' => array(
'author_photo_size',
'author_photo_space',
'author_photo_radius',
'review_size',
'f_meta_font_family',
array(
'f_meta_font_size',
''
),
array(
'f_meta_font_line_height',
''
),
'f_meta_font_style',
'f_meta_font_weight',
'f_meta_font_transform',
array(
'f_meta_font_spacing',
''
),
'author_txt',
'author_txt_hover',
'date_txt',
'com_bg',
'com_txt',
''
),
'tdb_loop_2' => array(
'author_photo_size',
'author_photo_space',
'author_photo_radius',
'review_size',
'f_meta_font_family',
array(
'f_meta_font_size',
''
),
array(
'f_meta_font_line_height',
''
),
'f_meta_font_style',
'f_meta_font_weight',
'f_meta_font_transform',
array(
'f_meta_font_spacing',
''
),
'author_txt',
'author_txt_hover',
'date_txt',
'com_bg',
'com_txt',
''
),
'tdb_single_related' => array(
'author_photo_size',
'author_photo_space',
'author_photo_radius',
'',
'f_meta_font_family',
array(
'f_meta_font_size',
''
),
array(
'f_meta_font_line_height',
''
),
'f_meta_font_style',
'f_meta_font_weight',
'f_meta_font_transform',
array(
'f_meta_font_spacing',
''
),
'author_txt',
'author_txt_hover',
'date_txt',
'com_bg',
'com_txt',
''
),
'tdb_single_related_author' => array(
'author_photo_size',
'author_photo_space',
'author_photo_radius',
'',
'f_meta_font_family',
array(
'f_meta_font_size',
''
),
array(
'f_meta_font_line_height',
''
),
'f_meta_font_style',
'f_meta_font_weight',
'f_meta_font_transform',
array(
'f_meta_font_spacing',
''
),
'author_txt',
'author_txt_hover',
'date_txt',
'com_bg',
'com_txt',
''
)
),
'Excerpt' => array(
'td_flex_block_1' => array(
'art_excerpt',
'f_ex_font_family',
array(
'f_ex_font_size',
'',
),
array(
'f_ex_font_line_height',
'',
),
'f_ex_font_style',
'f_ex_font_weight',
'f_ex_font_transform',
array(
'f_ex_font_spacing',
''
),
'ex_txt'
),
'td_flex_block_2' => array(
'art_excerpt',
'f_ex_font_family',
array(
'f_ex_font_size',
'',
),
array(
'f_ex_font_line_height',
'',
),
'f_ex_font_style',
'f_ex_font_weight',
'f_ex_font_transform',
array(
'f_ex_font_spacing',
''
),
'ex_txt'
),
'td_flex_block_3' => array(
'art_excerpt1',
'f_ex1_font_family',
array(
'f_ex1_font_size',
'',
),
array(
'f_ex1_font_line_height',
'',
),
'f_ex1_font_style',
'f_ex1_font_weight',
'f_ex1_font_transform',
array(
'f_ex1_font_spacing',
''
),
'ex_txt'
),
'td_flex_block_4' => array(
array(
'art_excerpt1',
'art_excerpt2',
),
array(
'f_ex1_font_family',
'f_ex2_font_family',
),
array(
'f_ex1_font_size',
'f_ex2_font_size',
),
array(
'f_ex1_font_line_height',
'f_ex2_font_line_height',
),
array(
'f_ex1_font_style',
'f_ex2_font_style'
),
array(
'f_ex1_font_weight',
'f_ex2_font_weight'
),
array(
'f_ex1_font_transform',
'f_ex2_font_transform'
),
array(
'f_ex1_font_spacing',
'f_ex2_font_spacing'
),
array(
'ex_txt',
'ex_txt2'
)
),
'td_flex_block_5' => array(
'art_excerpt',
'f_ex_font_family',
array(
'f_ex_font_size',
'',
),
array(
'f_ex_font_line_height',
'',
),
'f_ex_font_style',
'f_ex_font_weight',
'f_ex_font_transform',
array(
'f_ex_font_spacing',
''
),
'ex_txt'
),
'tdb_header_menu' => array(
'art_excerpt',
'f_ex_font_family',
array(
'f_ex_font_size',
'',
),
array(
'f_ex_font_line_height',
'',
),
'f_ex_font_style',
'f_ex_font_weight',
'f_ex_font_transform',
array(
'f_ex_font_spacing',
''
),
'ex_txt'
),
'tdb_header_search' => array(
'art_excerpt',
'f_ex_font_family',
array(
'f_ex_font_size',
'',
),
array(
'f_ex_font_line_height',
'',
),
'f_ex_font_style',
'f_ex_font_weight',
'f_ex_font_transform',
array(
'f_ex_font_spacing',
''
),
'ex_txt'
),
'tdb_loop' => array(
'art_excerpt',
'f_ex_font_family',
array(
'f_ex_font_size',
'',
),
array(
'f_ex_font_line_height',
'',
),
'f_ex_font_style',
'f_ex_font_weight',
'f_ex_font_transform',
array(
'f_ex_font_spacing',
''
),
'ex_txt'
),
'tdb_loop_2' => array(
'art_excerpt',
'f_ex_font_family',
array(
'f_ex_font_size',
'',
),
array(
'f_ex_font_line_height',
'',
),
'f_ex_font_style',
'f_ex_font_weight',
'f_ex_font_transform',
array(
'f_ex_font_spacing',
''
),
'ex_txt'
),
'tdb_single_related' => array(
'art_excerpt',
'f_ex_font_family',
array(
'f_ex_font_size',
'',
),
array(
'f_ex_font_line_height',
'',
),
'f_ex_font_style',
'f_ex_font_weight',
'f_ex_font_transform',
array(
'f_ex_font_spacing',
''
),
'ex_txt'
),
'tdb_single_related_author' => array(
'art_excerpt',
'f_ex_font_family',
array(
'f_ex_font_size',
'',
),
array(
'f_ex_font_line_height',
'',
),
'f_ex_font_style',
'f_ex_font_weight',
'f_ex_font_transform',
array(
'f_ex_font_spacing',
''
),
'ex_txt'
)
),
'to other types of images' => array(
'vc_single_image' => array(
'overlay',
'video_bg',
'video_overlay',
'mix_color',
'mix_type',
'fe_brightness',
'fe_contrast',
'fe_saturate',
'mix_color_h',
'mix_type_h',
'fe_brightness_h',
'fe_contrast_h',
'fe_saturate_h'
),
'tdm_block_inline_image' => array(
'overlay_color',
'video_bg',
'video_overlay',
'mix_color',
'mix_type',
'fe_brightness',
'fe_contrast',
'fe_saturate',
'mix_color_h',
'mix_type_h',
'fe_brightness_h',
'fe_contrast_h',
'fe_saturate_h'
)
)
);
}
/**
* modify the blocks params for big grids
* @return array
*/
static function td_block_big_grid_params() {
$map_filter_array = self::get_map_filter_array();
// remove the limit filter from map. Big grids do not have a limit filter
$map_filter_array = td_util::vc_array_remove_params($map_filter_array, array(
'limit'
));
return $map_filter_array;
}
/**
* modify the blocks params for trending_now
* @return array
*/
static function td_block_trending_params() {
$map_filter_array = self::get_map_filter_array();
// remove the limit filter from map. Big grids do not have a limit filter
$map_filter_array = td_util::vc_array_remove_params($map_filter_array, array(
'show_modified_date',
'time_ago',
'time_ago_add_txt',
));
return $map_filter_array;
}
static function get_map_css_tab() {
return array(
array (
'param_name' => 'css',
'value' => '',
'type' => 'css_editor',
'heading' => 'Css',
'group' => 'Design options',
),
array (
'param_name' => 'tdc_css',
'value' => '',
'type' => 'tdc_css_editor',
'heading' => '',
'group' => 'Design options',
),
);
}
/**
* Map array for sliders
* @return array VC_MAP params
*/
static function td_slide_params() {
$map_block_array = self::get_map_block_general_array();
// remove some of the params that are not needed for the slide
$map_block_array = td_util::vc_array_remove_params($map_block_array, array(
'border_top',
'ajax_pagination',
'ajax_pagination_infinite_stop'
));
// add some more
$temp_array_merge = array_merge(
$map_block_array,
array(
array(
"param_name" => "title_tag",
"type" => "dropdown",
"value" => array(
'Default - H4' => '',
'H1' => 'h1',
'H2' => 'h2',
'H3' => 'h3',
'Div' => 'div'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/title_seo.png",
),
array(
"param_name" => "autoplay",
"type" => "textfield",
"value" => '',
"heading" => 'Autoplay slider (at x seconds)',
"description" => "Leave empty do disable autoplay",
"holder" => "div",
"class" => "tdc-textfield-small"
),
array(
"param_name" => "ms_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Article title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
)
),
self::get_map_filter_array()
);
return $temp_array_merge;
}
//used to configure instagram on demos
static function td_instagram_demo_data() {
$instagram_demo_array = array();
if(TD_DEPLOY_MODE == 'dev' || TD_DEPLOY_MODE == 'demo') {
$instagram_demo_array = array(
array(
"param_name" => "instagram_demo_data",
"type" => "textarea_raw_html",
"value" => '',
"heading" => "Instagram demo data (avatar, followers number, images ids)",
"description" => 'Enter the data separated by comma in this order (user image, followers number, images ids) ',
"holder" => "div",
"class" => "",
'group' => 'Instagram'
)
);
}
return $instagram_demo_array;
}
static function register_styles() {
// Tabbed content styles
td_api_style::add( 'tds_tabbed_content1', array(
'group' => 'tds_tabbed_content',
'title' => 'Style 1 - Tabs on top',
'file' => TDC_PATH_LEGACY . '/styles/tds_tabbed_content/tds_tabbed_content1.php',
'params' => array_merge(
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Tabs',
"value" => "",
"class" => "tdc-separator",
"group" => "General"
),
array(
"param_name" => "tabs_horiz",
"type" => "dropdown-responsive",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Horizontal align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "General",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'General',
),
array(
"param_name" => "tabs_border",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "1",
"heading" => 'Bottom border size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bottom border color',
"param_name" => "tabs_border_color",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Tab',
"value" => "",
"class" => "tdc-separator-small",
"group" => "General"
),
array(
"param_name" => "tab_space",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "30",
"heading" => 'Space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'General',
),
array(
"param_name" => "tab_padd",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "0 0 18px 0",
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"group" => 'General',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'General',
),
array(
"param_name" => "tab_border",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "3",
"heading" => 'Bottom border size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-a",
"heading" => 'Bottom border color',
"param_name" => "tab_border_color",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-b",
"heading" => 'Bottom border color hover',
"param_name" => "tab_border_color_h",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-b",
"heading" => 'Bottom border color active',
"param_name" => "tab_border_color_a",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Icons',
"value" => "",
"class" => "tdc-separator-small",
"group" => "General"
),
array(
"param_name" => "icon_size",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "14",
"heading" => 'Size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'General',
),
array(
"param_name" => "icon_space",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "8",
"heading" => 'Space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'General',
),
array(
"param_name" => "icon_pos",
"type" => "dropdown",
"value" => array(
'Before text' => '',
'After text' => 'after',
),
"heading" => 'Position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => 'General'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-a",
"heading" => 'Icon color',
"param_name" => "icon_color",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-b",
"heading" => 'Icon color hover',
"param_name" => "icon_color_h",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-b",
"heading" => 'Icon color active',
"param_name" => "icon_color_a",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Text',
"value" => "",
"class" => "tdc-separator-small",
"group" => "General"
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-a",
"heading" => 'Text color',
"param_name" => "txt_color",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-b",
"heading" => 'Text color hover',
"param_name" => "txt_color_h",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-b",
"heading" => 'Text color active',
"param_name" => "txt_color_a",
"value" => '',
"description" => '',
"group" => 'General',
),
),
td_config_helper::get_map_block_font_array( 'f_txt', true, 'Text', 'General' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Content',
"value" => "",
"class" => "tdc-separator",
"group" => "General"
),
array(
"param_name" => "content_padd",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "30px 0 0 0",
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"group" => 'General',
),
)
)
)
);
td_api_style::add( 'tds_tabbed_content2', array(
'group' => 'tds_tabbed_content',
'title' => 'Style 2 - Tabs on left',
'file' => TDC_PATH_LEGACY . '/styles/tds_tabbed_content/tds_tabbed_content2.php',
'params' => array_merge(
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Tabs',
"value" => "",
"class" => "tdc-separator",
"group" => "General"
),
array(
"param_name" => "tabs_width",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "200",
"heading" => 'Width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"group" => 'General',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'General',
),
array(
"param_name" => "tabs_border",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "1",
"heading" => 'Right border size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Right border color',
"param_name" => "tabs_border_color",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Tab',
"value" => "",
"class" => "tdc-separator-small",
"group" => "General"
),
array(
"param_name" => "tab_space",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "16",
"heading" => 'Space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'General',
),
array(
"param_name" => "tab_padd",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "5px 25px 5px 0",
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"group" => 'General',
),
array(
"param_name" => "tab_horiz",
"type" => "dropdown-responsive",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Horizontal align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "General",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'General',
),
array(
"param_name" => "tab_border",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "3",
"heading" => 'Right border size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-a",
"heading" => 'Right border color',
"param_name" => "tab_border_color",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-b",
"heading" => 'Right border color hover',
"param_name" => "tab_border_color_h",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-b",
"heading" => 'Right border color active',
"param_name" => "tab_border_color_a",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Icons',
"value" => "",
"class" => "tdc-separator-small",
"group" => "General"
),
array(
"param_name" => "icon_size",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "14",
"heading" => 'Size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'General',
),
array(
"param_name" => "icon_space",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "8",
"heading" => 'Space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"group" => 'General',
),
array(
"param_name" => "icon_pos",
"type" => "dropdown",
"value" => array(
'Before text' => '',
'After text' => 'after',
),
"heading" => 'Position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => 'General'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-a",
"heading" => 'Icon color',
"param_name" => "icon_color",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-b",
"heading" => 'Icon color hover',
"param_name" => "icon_color_h",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-b",
"heading" => 'Icon color active',
"param_name" => "icon_color_a",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Text',
"value" => "",
"class" => "tdc-separator-small",
"group" => "General"
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-a",
"heading" => 'Text color',
"param_name" => "txt_color",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-b",
"heading" => 'Text color hover',
"param_name" => "txt_color_h",
"value" => '',
"description" => '',
"group" => 'General',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-colorpicker-triple-b",
"heading" => 'Text color active',
"param_name" => "txt_color_a",
"value" => '',
"description" => '',
"group" => 'General',
),
),
td_config_helper::get_map_block_font_array( 'f_txt', true, 'Text', 'General' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Content',
"value" => "",
"class" => "tdc-separator",
"group" => "General"
),
array(
"param_name" => "content_padd",
"type" => "textfield-responsive",
"value" => "",
"placeholder" => "0 0 0 30px",
"heading" => 'Padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"group" => 'General',
),
)
)
)
);
// Filters loop modules
td_api_style::add( 'tds_module_loop_1_style', array(
'group' => 'tds_module_loop_style',
'title' => 'Module 1',
'file' => TDC_PATH_LEGACY . '/styles/tds_module_loop_style/tds_module_loop_1_style.php',
'params' => array_merge(
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Content length',
"value" => "",
"class" => "",
"group" => "Module"
),
array(
"param_name" => "mc1_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
"group" => "Module"
),
array(
"param_name" => "mc1_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
"group" => "Module"
),
array(
"param_name" => "mc1_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
"group" => "Module"
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'General',
"value" => "",
"class" => "",
"group" => "Module",
),
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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_container.png",
),
array(
"param_name" => "modules_on_row",
"type" => "dropdown-responsive",
"value" => array(
'1' => '100%',
'2' => '50%',
'3' => '33.33333333%',
'4' => '25%',
'5' => '20%',
'6' => '16.66666667%',
'7' => '14.28571428%',
'8' => '12.5%',
'9' => '11.11111111%',
'10' => '10%',
),
"heading" => 'Modules per row',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-small",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_per_row.png",
),
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '48',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "m_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_padding.png",
),
array(
"param_name" => "all_modules_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules bottom space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "34",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Module background',
"param_name" => "m_bg",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
),
td_config_helper::get_map_block_shadow_array('shadow', 'Module Shadow', 0, 0, 0, "Module", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Modules border',
"value" => "",
"class" => "tdc-separator-small",
"group" => "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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
),
array(
"param_name" => "modules_border_style",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
),
array(
"param_name" => "m_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Module",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Modules divider',
"value" => "",
"class" => "tdc-separator-small",
"group" => "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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Divider color',
"param_name" => "modules_divider_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Hover',
"value" => "",
"class" => "tdc-separator-small",
"group" => "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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_hover_effect.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "",
"group" => "Module",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'Medium - Default - 696x0px' => '',
'-- [No crop] --' => '__',
'XSmall - 150x0px' => 'td_150x0',
'Small - 300x0px' => 'td_300x0',
'Large - 1068x0px' => 'td_1068x0',
'Full - 1920x0px' => 'td_1920x0',
'-- [Other sizes] --' => '__',
'218x150px' => 'td_218x150',
'324x400px' => 'td_324x400',
'485x360' => 'td_485x360'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
"param_name" => "image_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "image_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image width (0-100 percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_width.png",
),
array(
"param_name" => "image_floated",
"type" => "dropdown-responsive",
"value" => array(
'Normal' => 'no_float',
'Float left' => 'float_left',
'Float right' => 'float_right',
'Hidden' => 'hidden',
),
"heading" => 'Image position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_position.png",
),
array(
"param_name" => "image_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
),
array(
"param_name" => "hide_image",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Module',
"info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
),
),
td_config_helper::mix_blend('Module'),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article video',
"value" => "",
"class" => "",
"group" => "Module",
),
array(
"param_name" => "video_icon",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
array(
"param_name" => "video_popup",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Enable video pop-up",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Module',
"info_img" => "https://cloud.tagdiv.com/help/layout_enable_video_pop-up.png",
),
array(
"param_name" => "video_rec",
"type" => "textarea_raw_html",
"holder" => "div",
"class" => "tdc-textarea-raw-small",
"heading" => 'Video pop-up ad',
"value" => "",
"description" => 'Paste your ad code here.',
'group' => 'Module',
"info_img" => "https://cloud.tagdiv.com/help/module_video_popup_ad.png",
),
array(
"param_name" => "spot_header",
"type" => "spot_header",
"value" => "",
"class" => '',
'group' => 'Module',
),
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' => 'Module',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-spot-controller tdc-spot-color",
"heading" => 'Ad title color',
"param_name" => "video_rec_color",
"value" => '',
"description" => '',
"group" => "Module",
),
array(
"param_name" => "video_rec_disable",
"type" => "checkbox",
"value" => '',
"heading" => "Hide ADS for admins/editors",
"description" => "Used to prevent fake clicks and views on ads by admins and editors",
"holder" => "div",
"class" => "",
"group" => 'Module'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
array(
"param_name" => "autoplay_vid",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Autoplay video",
"description" => "When it is inactive, the sound will be ON",
"holder" => "div",
"class" => "",
"group" => '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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
),
array(
"param_name" => "vid_t_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
),
array(
"param_name" => "vid_t_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Module",
),
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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_video_title_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Video pop-up article title hover color',
"param_name" => "video_title_color_h",
"value" => '',
"description" => '',
"group" => "Module",
),
array(
"param_name" => "video_bg",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up background color",
"value" => "",
"class" => "",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_video_background.png",
),
array(
"param_name" => "video_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up overlay color",
"value" => "",
"class" => "",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_video_overlay_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
array(
"param_name" => "vid_t_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration text color",
"value" => "",
"class" => "",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_video_text_color.png",
),
array(
"param_name" => "vid_t_bg_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration background color",
"value" => "",
"class" => "",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_video_bg_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
),
td_config_helper::get_map_block_font_array( 'f_vid_title', true, 'Video pop-up article title', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_duration_title.png', '' ),
td_config::get_map_exclusive_label_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article meta info',
"value" => "",
"class" => "",
"group" => "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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_vertical_align.png",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_margin.png",
),
array(
"param_name" => "meta_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "13px 0px 0px 0px",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_padding.png",
),
array(
"param_name" => "meta_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta container space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_container_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
),
td_config_helper::get_map_block_shadow_array('shadow_m', 'Meta info shadow', 0, 0, 0, "Module", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_meta_shadow.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => '',
),
),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', "Module", '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
array(
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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_border_width.png",
),
array(
"param_name" => "meta_info_border_style",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_border_style_general.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "meta_info_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_border_color_general.png",
),
array(
"param_name" => "meta_info_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Module",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article title',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "art_title",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 6px 0px",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => "Module",
),
array(
"param_name" => "all_underline_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Underline size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '#000',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
),
array(
"param_name" => "art_btn",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article button space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px 0px 0px 0px",
"group" => "Module",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => '',
),
),
td_config_helper::get_map_block_font_array( 'f_title', true, 'Article title', "Module", '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
array(
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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "modules_category_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "modules_cat_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
),
array(
'param_name' => 'modules_category_radius',
'type' => 'range-responsive',
'value' => '0',
'heading' => 'Border radius',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
),
array(
"param_name" => "show_cat",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_extra_cat",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => "Module",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => "Module",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => "Module",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category border color',
"param_name" => "cat_border",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category border hover',
"param_name" => "cat_border_hover",
"value" => '',
"description" => '',
"group" => "Module",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', "Module", '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
array(
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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "author_photo",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo.png",
),
array(
"param_name" => "author_photo_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
),
array(
"param_name" => "author_photo_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "6",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
),
array(
"param_name" => "author_photo_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50%",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => "Module",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Date',
"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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "show_modified_date",
"type" => "checkbox",
"value" => '',
"heading" => "Show modified date",
"description" => "Show last modified date of the article",
"holder" => "div",
"class" => "",
"group" => "Module",
),
array(
"param_name" => "time_ago",
"type" => "checkbox",
"value" => '',
"heading" => 'Enable time ago',
"description" => "Applicable only for posts newer than 7 days",
"holder" => "div",
"class" => "",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
),
array(
"param_name" => "time_ago_add_txt",
"type" => "textfield",
"value" => 'ago',
"heading" => 'Time ago add. text',
"description" => "",
"placeholder" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
),
array(
"param_name" => "time_ago_txt_pos",
"type" => "checkbox",
"value" => '',
"heading" => 'Display additional text before the date',
"description" => "",
"holder" => "div",
"class" => "",
"group" => "Module",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Comment count',
"value" => "",
"class" => "tdc-separator-small",
"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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment background',
"param_name" => "com_bg",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Review stars',
"value" => "",
"class" => "tdc-separator-small",
"group" => "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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Module",
"info_img" => "",
),
array(
'param_name' => 'review_size',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Module",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Excerpt',
"value" => "",
"class" => "tdc-separator-small",
"group" => "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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
),
array(
"param_name" => "art_excerpt",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article excerpt space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px 0px 0px 0px",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "excerpt_col",
"type" => "dropdown-responsive",
"value" => array(
'1' => '1',
'2' => '2',
'3' => '3',
),
"heading" => 'Article excerpt columns',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-small",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/layout_article_excerpt_columns.png",
),
array(
"param_name" => "excerpt_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article excerpt columns gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "48",
"group" => "Module",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "excerpt_middle",
"type" => "checkbox",
"value" => '',
"heading" => "Excerpt in middle",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "excerpt_inline",
"type" => "checkbox",
"value" => '',
"heading" => "Inline Excerpt & Title",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_inline_excerpt_title.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
),
td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', "Module", '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article audio player',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Module",
),
array(
"param_name" => "show_audio",
"type" => "dropdown-responsive",
"value" => array(
'Visible' => 'block',
'Hidden' => 'none',
),
"heading" => 'Show audio player',
"description" => "This will hide the audio player responsive",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "hide_audio",
"type" => "checkbox",
"value" => '',
"heading" => "Remove audio player",
"description" => "This will remove the audio player from code",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "art_audio",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Audio player space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_space.png",
),
array(
'param_name' => 'art_audio_size',
'type' => 'range-responsive',
'value' => '1.5',
'heading' => 'Audio player size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_size.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Buttons color',
"param_name" => "audio_btn_color",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_buttons.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Time text color',
"param_name" => "audio_time_color",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_time.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars background color',
"param_name" => "audio_bar_color",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_bar.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars progress color',
"param_name" => "audio_bar_curr_color",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_progress.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Read more button',
"value" => "",
"class" => "tdc-separator-small",
"group" => '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" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_button_show.png",
),
array(
"param_name" => "btn_title",
"type" => "textfield",
"value" => '',
"heading" => 'Button text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "Read more",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_button_text.png",
),
array(
"param_name" => "btn_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 20px 0px",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_button_space.png",
),
array(
"param_name" => "btn_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "10px 15px",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_button_padding.png",
),
array(
"param_name" => "btn_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_button_border.png",
),
array(
"param_name" => "btn_radius",
"type" => "textfield",
"value" => '',
"heading" => 'Button border radius',
"description" => "",
"placeholder" => "0",
"holder" => "div",
"class" => "tdc-textfield-small",
'group' => 'Module',
"info_img" => "https://cloud.tagdiv.com/help/module_button_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button background',
"param_name" => "btn_bg",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_button_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button background hover',
"param_name" => "btn_bg_hover",
"value" => '',
"description" => '',
"group" => "Module",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button text color',
"param_name" => "btn_txt",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_button_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button text hover',
"param_name" => "btn_txt_hover",
"value" => '',
"description" => '',
"group" => "Module",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button border color',
"param_name" => "btn_border",
"value" => '',
"description" => '',
"group" => "Module",
"info_img" => "https://cloud.tagdiv.com/help/module_button_border_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button border hover',
"param_name" => "btn_border_hover",
"value" => '',
"description" => '',
"group" => "Module",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Module',
),
),
td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', "Module", '', '', 'https://cloud.tagdiv.com/help/module_font_article_read.png', '' )
),
)
);
td_api_style::add( 'tds_module_loop_2_style', array(
'group' => 'tds_module_loop_style',
'title' => 'Module 2',
'file' => TDC_PATH_LEGACY . '/styles/tds_module_loop_style/tds_module_loop_2_style.php',
'params' => array_merge(
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Content length',
"value" => "",
"class" => "",
),
array(
"param_name" => "mc1_tl",
"type" => "textfield",
"value" => '',
"heading" => 'Title length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => '25',
"info_img" => "https://cloud.tagdiv.com/help/title_length.png",
),
array(
"param_name" => "mc1_title_tag",
"type" => "dropdown",
"value" => array(
'Default - H3' => '',
'H1' => 'h1',
'H2' => 'h2',
'H4' => 'h4',
'Paragraph' => 'p'
),
"heading" => 'Title tag (SEO)',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"info_img" => "https://cloud.tagdiv.com/help/module_title_seo.png",
),
array(
"param_name" => "mc1_el",
"type" => "textfield",
"value" => '',
"heading" => 'Excerpt length',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "25",
"info_img" => "https://cloud.tagdiv.com/help/excerpt_length.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'General',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "modules_on_row",
"type" => "dropdown-responsive",
"value" => array(
'1' => '100%',
'2' => '50%',
'3' => '33.33333333%',
'4' => '25%',
'5' => '20%',
'6' => '16.66666667%',
'7' => '14.28571428%',
'8' => '12.5%',
'9' => '11.11111111%',
'10' => '10%',
),
"heading" => 'Modules per row',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-small",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_per_row.png",
),
array(
"param_name" => "modules_gap",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules gap',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_gap.png",
),
array(
"param_name" => "m_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Modules padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_padding.png",
),
array(
"param_name" => "all_modules_space",
"type" => "textfield-responsive",
"value" => '36',
"heading" => 'Modules bottom space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "36",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_bottom_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Module background',
"param_name" => "m_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
),
td_config_helper::get_map_block_shadow_array('shadow', 'Module Shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_shadow.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Modules border',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_border_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_border_width.png",
),
array(
"param_name" => "modules_border_style",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_style.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "modules_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_border_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Modules divider',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "modules_divider",
"type" => "dropdown",
"value" => array(
'None' => '',
'Solid' => 'solid',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Modules divider',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_modules_divider.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Modules divider color',
"param_name" => "modules_divider_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_divider_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Modules hover',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"param_name" => "h_effect",
"type" => "dropdown",
"value" => array(
'None' => '',
'Shadow' => 'shadow',
'Move up & shadow' => 'up-shadow',
),
"heading" => 'Hover effect',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_hover_effect.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article image',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "image_size",
"type" => "dropdown",
"value" => array(
'Medium - Default - 696x0px' => '',
'-- [No crop] --' => '__',
'XSmall - 150x0px' => 'td_150x0',
'Small - 300x0px' => 'td_300x0',
'Large - 1068x0px' => 'td_1068x0',
'Full - 1920x0px' => 'td_1920x0',
'-- [Other sizes] --' => '__',
'218x150px' => 'td_218x150',
'324x400px' => 'td_324x400',
'485x360' => 'td_485x360'
),
"heading" => 'Image size',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_size.png",
),
array(
'param_name' => 'image_alignment',
'type' => 'range-responsive',
'value' => '50',
'heading' => 'Image V alignment',
'description' => '0 - Top / 50 - Center / 100 - Bottom',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_v_alignment.png",
),
array(
"param_name" => "image_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image height (percent)',
"description" => "Default value in percent",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_height.png",
),
array(
"param_name" => "image_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_image_radius.png",
),
array(
"param_name" => "image_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Image margin',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_image_margin.png",
),
array(
"param_name" => "hide_image",
"type" => "checkbox",
"value" => '',
"heading" => "Hide image",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_hide_image.png",
),
),
td_config_helper::mix_blend(),
td_config_helper::image_filters(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article video',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "video_icon",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video icon size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "40",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_video_icon_size.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "video_popup",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Enable video pop-up",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/layout_enable_video_pop-up.png",
),
array(
"param_name" => "video_rec",
"type" => "textarea_raw_html",
"holder" => "div",
"class" => "tdc-textarea-raw-small",
"heading" => 'Video pop-up ad',
"value" => "",
"description" => 'Paste your ad code here.',
'group' => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_video_popup_ad.png",
),
array(
"param_name" => "spot_header",
"type" => "spot_header",
"value" => "",
"class" => '',
'group' => 'Layout',
),
array(
"param_name" => "video_rec_title",
"type" => "textfield",
"value" => '- Advertisement -',
"heading" => 'Ad title',
"description" => "",
"placeholder" => "",
"holder" => "div",
"class" => "tdc-textfield-extrabig tdc-spot-controller tdc-spot-title",
'group' => 'Layout',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "tdc-spot-controller tdc-spot-color",
"heading" => 'Ad title color',
"param_name" => "video_rec_color",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_rec_disable",
"type" => "checkbox",
"value" => '',
"heading" => "Hide ADS for admins/editors",
"description" => "Used to prevent fake clicks and views on ads by admins and editors",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "autoplay_vid",
"type" => "checkbox",
"value" => 'yes',
"heading" => "Autoplay video",
"description" => "When it is inactive, the sound will be ON",
"holder" => "div",
"class" => "",
"group" => 'Layout'
),
array(
"param_name" => "show_vid_t",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show video duration',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_show_video_duration.png",
),
array(
"param_name" => "vid_t_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_space.png",
),
array(
"param_name" => "vid_t_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Video duration padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_padding.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Style',
"value" => "",
"class" => "tdc-separator-small",
"group" => "Layout",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Video pop-up article title color',
"param_name" => "video_title_color",
"value" => '',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_title_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Video pop-up article title hover color',
"param_name" => "video_title_color_h",
"value" => '',
"description" => '',
"group" => "Layout",
),
array(
"param_name" => "video_bg",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up background color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_background.png",
),
array(
"param_name" => "video_overlay",
"holder" => "div",
"type" => "gradient",
'heading' => "Video pop-up overlay color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_overlay_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
array(
"param_name" => "vid_t_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration text color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_text_color.png",
),
array(
"param_name" => "vid_t_bg_color",
"holder" => "div",
"type" => "colorpicker",
'heading' => "Video duration background color",
"value" => "",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_video_bg_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout',
),
),
td_config_helper::get_map_block_font_array( 'f_vid_title', true, 'Video pop-up article title', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_article_title.png', '' ),
td_config_helper::get_map_block_font_array( 'f_vid_time', false, 'Video duration text', 'Layout', '', '', 'https://cloud.tagdiv.com/help/module_video_duration_title.png', '' ),
td_config::get_map_exclusive_label_array(),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article meta info',
"value" => "",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "meta_info_horiz",
"type" => "dropdown",
"value" => array(
'Left' => 'content-horiz-left',
'Center' => 'content-horiz-center',
'Right' => 'content-horiz-right'
),
"heading" => 'Meta info horiz align',
"description" => "",
"holder" => "div",
'tdc_dropdown_images' => true,
"class" => "tdc-visual-selector tdc-add-class",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_horiz_align.png",
),
array(
"param_name" => "meta_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Meta info width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "100%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_meta_info_width.png",
),
array(
"param_name" => "meta_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Top info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_padding.png",
),
array(
"param_name" => "meta_padding2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Bottom info padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "13px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_bottom_padding.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Top meta info background',
"param_name" => "meta_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bottom meta info background',
"param_name" => "meta_bg2",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_background.png",
),
),
td_config_helper::get_map_block_shadow_array('shadow_m', 'Meta info shadow', 0, 0, 0, "Style", '', 0, true, '', 'https://cloud.tagdiv.com/help/module_meta_shadow.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_meta', false, 'Article meta info', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_meta.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Meta info border',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "meta_info_border_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Top info border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_top_border.png",
),
array(
"param_name" => "meta_info_border_size2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Bottom info border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_bottom_border.png",
),
array(
"param_name" => "meta_info_border_style",
"type" => "dropdown",
"value" => array(
'Solid' => '',
'Dotted' => 'dotted',
'Dashed' => 'dashed',
),
"heading" => 'Border style',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_border_style_general.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Border color',
"param_name" => "meta_info_border_color",
"value" => '#eaeaea',
"description" => '',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_border_color_general.png",
),
array(
"param_name" => "meta_info_border_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Top info border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "meta_info_border_radius2",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Bottom info border radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article title',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "art_title_pos",
"type" => "dropdown",
"value" => array(
'Above image' => 'top',
'Under image' => 'bottom',
),
"heading" => 'Article title position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_meta_title_position.png",
),
array(
"param_name" => "info_pos",
"type" => "dropdown",
"value" => array(
'Above image' => 'top',
'Under image' => 'bottom',
'Above title' => 'title',
),
"heading" => 'Info position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_info_position.png",
),
array(
"param_name" => "info_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Info space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_info_space.png",
),
array(
"param_name" => "art_title",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article title space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 6px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_article_title_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Article title text color',
"param_name" => "title_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_article_title.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Article title text hover',
"param_name" => "title_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "all_underline_height",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Underline size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/style_underline.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Hover underline color',
"param_name" => "all_underline_color",
"value" => '#000',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_underline_color.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_title', true, 'Article title', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_title.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Category tag',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_cat",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show category',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_show.png",
),
array(
"param_name" => "modules_category",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Over image' => 'image',
),
"heading" => 'Category tag position',
"description" => "Float image",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "modules_extra_cat",
"type" => "dropdown",
"value" => array(
'Inline' => '',
'Above title' => 'above',
'Hide' => 'hide',
),
"heading" => 'Show custom label',
"description" => "The custom label can be set individually for each post. Edit a single post and check Post Settings fields.",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/layout_category_tag_position.png",
),
array(
"param_name" => "modules_category_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag spacing',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
),
array(
"param_name" => "modules_category_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "3px 6px 4px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_padding.png",
),
array(
"param_name" => "modules_category_border",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Category tag border',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_border.png",
),
array(
'param_name' => 'modules_category_radius',
'type' => 'range-responsive',
'value' => '0',
'heading' => 'Border radius',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '100',
'range_step' => '1',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_cat_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category background',
"param_name" => "cat_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category background hover',
"param_name" => "cat_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category text color',
"param_name" => "cat_txt",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category text hover',
"param_name" => "cat_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Category border color',
"param_name" => "cat_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_cat_color_border.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Category border hover',
"param_name" => "cat_border_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_cat', false, 'Article category tag', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_cat.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Author',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_author",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show author',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_show.png",
),
array(
"param_name" => "author_photo",
"type" => "checkbox",
"value" => '',
"heading" => "Show author photo",
"description" => "",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo.png",
),
array(
"param_name" => "author_photo_size",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo size',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "20",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_size.png",
),
array(
"param_name" => "author_photo_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "6",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_space.png",
),
array(
"param_name" => "author_photo_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Author photo radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "50%",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_auth_photo_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Author text color',
"param_name" => "author_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_auth_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Author text hover',
"param_name" => "author_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Date',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_date",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show date',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_date_show.png",
),
array(
"param_name" => "show_modified_date",
"type" => "checkbox",
"value" => '',
"heading" => "Show modified date",
"description" => "Show last modified date of the article instead of published date",
"holder" => "div",
"class" => "",
"group" => "Layout",
),
array(
"param_name" => "time_ago",
"type" => "checkbox",
"value" => '',
"heading" => 'Enable time ago',
"description" => "Applicable only for posts newer than 7 days",
"holder" => "div",
"class" => "",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_time_ago.png"
),
array(
"param_name" => "time_ago_add_txt",
"type" => "textfield",
"value" => 'ago',
"heading" => 'Time ago add. text',
"description" => "",
"placeholder" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_ago_text.png",
),
array(
"param_name" => "time_ago_txt_pos",
"type" => "checkbox",
"value" => '',
"heading" => 'Display additional text before the date',
"description" => "",
"holder" => "div",
"class" => "",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Date text color',
"param_name" => "date_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_date_color.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Comment count',
"value" => "",
"class" => "tdc-separator-small",
"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",
"info_img" => "https://cloud.tagdiv.com/help/module_comment_show.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment background',
"param_name" => "com_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_comment_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Comment text color',
"param_name" => "com_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_comment_text.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Review stars',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_review",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'inline-block',
'Hide' => 'none',
),
"heading" => 'Show review stars',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_show.png",
),
array(
"param_name" => "review_space",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Review stars space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
'param_name' => 'review_size',
'type' => 'range-responsive',
'value' => '2.5',
'heading' => 'Review stars size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_review_size.png",
),
array(
"param_name" => "review_distance",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Distance between rating stars',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Excerpt',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_excerpt",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show excerpt',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_show_excerpt.png",
),
array(
"param_name" => "art_excerpt_pos",
"type" => "dropdown",
"value" => array(
'Above image' => 'top',
'Under image' => 'bottom',
),
"heading" => 'Article excerpt position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_excerpt_position.png",
),
array(
"param_name" => "art_excerpt",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Article excerpt space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "20px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_excerpt_space.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Excerpt text color',
"param_name" => "ex_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_color_excerpt.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_ex', false, 'Article excerpt', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_excerpt.png', '' ),
array(
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Article audio player',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_audio",
"type" => "dropdown-responsive",
"value" => array(
'Visible' => 'block',
'Hidden' => 'none',
),
"heading" => 'Show audio player',
"description" => "This will hide the audio player responsive",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "hide_audio",
"type" => "checkbox",
"value" => '',
"heading" => "Remove audio player",
"description" => "This will remove the audio player from code",
"holder" => "div",
"class" => "",
"group" => 'Layout',
"info_img" => "https://cloud.tagdiv.com/help/module_audio_show.png",
),
array(
"param_name" => "art_audio_pos",
"type" => "dropdown",
"value" => array(
'Above image' => 'top',
'Under image' => 'bottom',
),
"heading" => 'Audio player position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_position.png",
),
array(
"param_name" => "art_audio",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Audio player space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 0px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_space.png",
),
array(
'param_name' => 'art_audio_size',
'type' => 'range-responsive',
'value' => '1.5',
'heading' => 'Audio player size',
'description' => '',
'class' => 'tdc-textfield-small',
'range_min' => '0',
'range_max' => '10',
'range_step' => '0.5',
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_audio_size.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Buttons color',
"param_name" => "audio_btn_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_buttons.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Time text color',
"param_name" => "audio_time_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_time.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars background color',
"param_name" => "audio_bar_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_bar.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "",
"heading" => 'Bars progress color',
"param_name" => "audio_bar_curr_color",
"value" => '',
"description" => '',
"group" => "Style",
"info_img" => "https://cloud.tagdiv.com/help/module_color_audio_progress.png",
),
array(
"param_name" => "separator",
"type" => "text_separator",
'heading' => 'Read more button',
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Layout'
),
array(
"param_name" => "show_btn",
"type" => "dropdown-responsive",
"value" => array(
'Show' => 'block',
'Hide' => 'none',
),
"heading" => 'Show button',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_show.png",
),
array(
"param_name" => "btn_pos",
"type" => "dropdown",
"value" => array(
'Above image' => 'top',
'Under image' => 'bottom',
),
"heading" => 'Button position',
"description" => "",
"holder" => "div",
"class" => "tdc-dropdown-big",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_position.png",
),
array(
"param_name" => "btn_title",
"type" => "textfield",
"value" => '',
"heading" => 'Button text',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "Read more",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_text.png",
),
array(
"param_name" => "btn_margin",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button space',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "0px 0px 20px 0px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_space.png",
),
array(
"param_name" => "btn_padding",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button padding',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big",
"placeholder" => "10px 15px",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_padding.png",
),
array(
"param_name" => "btn_border_width",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button border width',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_border.png",
),
array(
"param_name" => "btn_radius",
"type" => "textfield-responsive",
"value" => '',
"heading" => 'Button radius',
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-small",
"placeholder" => "0",
"group" => "Layout",
"info_img" => "https://cloud.tagdiv.com/help/module_button_radius.png",
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button background',
"param_name" => "btn_bg",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_button_color_bg.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button background hover',
"param_name" => "btn_bg_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button text color',
"param_name" => "btn_txt",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_button_color_text.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button text hover',
"param_name" => "btn_txt_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-a",
"heading" => 'Button border color',
"param_name" => "btn_border",
"value" => '',
"description" => '',
"group" => 'Style',
"info_img" => "https://cloud.tagdiv.com/help/module_button_border_color.png",
),
array(
"type" => "colorpicker",
"holder" => "div",
"class" => "td-colorpicker-double-b",
"heading" => 'Button border hover',
"param_name" => "btn_border_hover",
"value" => '',
"description" => '',
"group" => 'Style',
),
array(
"param_name" => "separator",
"type" => "horizontal_separator",
"value" => "",
"class" => "tdc-separator-small",
"group" => 'Style',
),
),
td_config_helper::get_map_block_font_array( 'f_btn', false, 'Article read more button', 'Style', '', '', 'https://cloud.tagdiv.com/help/module_font_article_read.png', '' )
)
)
);
}
}