/**
  * setup the global theme specific variables
  * @depends td_global
  */
 static function td_global_after()
 {
     /**
      * we need the post list array to be in this format for fast lookup in single.php via the array key
      * the array is used in the theme via the @see td_panel_generator::helper_td_global_list_to_panel_values converter
      *
      * 'plugin_id' => array(
      * 'text' => 'Single template 1',
      * 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/post-templates-icons-1.png'
      * 'file' => 'this is the full path if we define the template form a tagDiv plugin'
      * ),
      *
      */
     td_global::$post_templates_list = array('' => array('text' => 'Default', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/post-templates-icons-0.png'), 'single_template_1' => array('text' => 'Single template 1', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/post-templates-icons-1.png'), 'single_template_2' => array('text' => 'Single template 2', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/post-templates-icons-2.png'), 'single_template_3' => array('text' => 'Single template 3', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/post-templates-icons-3.png'), 'single_template_4' => array('text' => 'Single template 4', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/post-templates-icons-4.png'), 'single_template_5' => array('text' => 'Single template 5', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/post-templates-icons-5.png'), 'single_template_6' => array('text' => 'Single template 6', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/post-templates-icons-6.png'), 'single_template_7' => array('text' => 'Single template 7', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/post-templates-icons-7.png'), 'single_template_8' => array('text' => 'Single template 8', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/post-templates-icons-8.png'));
     td_global::$smart_lists = array('' => array('text' => 'Default', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/smart-list-0.png'), 'td_smart_list_1' => array('text' => 'Smart list 1', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/smart-list-1.png'), 'td_smart_list_2' => array('text' => 'Smart list 2', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/smart-list-2.png'), 'td_smart_list_3' => array('text' => 'Smart list 3', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/smart-list-3.png'), 'td_smart_list_4' => array('text' => 'Smart list 4', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/smart-list-4.png'));
     // array (module_id => array(module_properties))
     td_global::$modules_list = array('td_module_1' => array('text' => 'Module 1', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-1.png', 'used_on_blocks' => array('td_block_3'), 'excerpt_title' => 12, 'excerpt_content' => '', 'enabled_on_more_articles_box' => true, 'enabled_on_loops' => true, 'uses_columns' => true, 'category_label' => true), 'td_module_2' => array('text' => 'Module 2', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-2.png', 'used_on_blocks' => array('td_block_4'), 'excerpt_title' => 12, 'excerpt_content' => 25, 'enabled_on_more_articles_box' => true, 'enabled_on_loops' => true, 'uses_columns' => true, 'category_label' => true), 'td_module_3' => array('text' => 'Module 3', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-3.png', 'used_on_blocks' => array('td_block_5'), 'excerpt_title' => 12, 'excerpt_content' => '', 'enabled_on_more_articles_box' => true, 'enabled_on_loops' => true, 'uses_columns' => true, 'category_label' => true), 'td_module_4' => array('text' => 'Module 4', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-4.png', 'used_on_blocks' => array('td_block_1', 'td_block_2'), 'excerpt_title' => 12, 'excerpt_content' => 25, 'enabled_on_more_articles_box' => true, 'enabled_on_loops' => true, 'uses_columns' => true, 'category_label' => true), 'td_module_5' => array('text' => 'Module 5', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-5.png', 'used_on_blocks' => array('td_block_6'), 'excerpt_title' => 12, 'excerpt_content' => 25, 'enabled_on_more_articles_box' => true, 'enabled_on_loops' => true, 'uses_columns' => true, 'category_label' => true), 'td_module_6' => array('text' => 'Module 6', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-6.png', 'used_on_blocks' => array('td_block_1', 'td_block_2', 'td_block_7'), 'excerpt_title' => 12, 'excerpt_content' => '', 'enabled_on_more_articles_box' => true, 'enabled_on_loops' => true, 'uses_columns' => true, 'category_label' => true), 'td_module_7' => array('text' => 'Module 7', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-7.png', 'used_on_blocks' => array('td_block_8'), 'excerpt_title' => 12, 'excerpt_content' => '', 'enabled_on_more_articles_box' => true, 'enabled_on_loops' => true, 'uses_columns' => true, 'category_label' => true), 'td_module_8' => array('text' => 'Module 8', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-8.png', 'used_on_blocks' => array('td_block_9'), 'excerpt_title' => 15, 'excerpt_content' => '', 'enabled_on_more_articles_box' => true, 'enabled_on_loops' => true, 'uses_columns' => true, 'category_label' => true), 'td_module_9' => array('text' => 'Module 9', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-9.png', 'used_on_blocks' => array('td_block_10'), 'excerpt_title' => 15, 'excerpt_content' => '', 'enabled_on_more_articles_box' => true, 'enabled_on_loops' => true, 'uses_columns' => true, 'category_label' => true), 'td_module_10' => array('text' => 'Module 10', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-10.png', 'used_on_blocks' => array('td_block_11'), 'excerpt_title' => 15, 'excerpt_content' => 25, 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => true, 'uses_columns' => false, 'category_label' => true), 'td_module_11' => array('text' => 'Module 11', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-11.png', 'used_on_blocks' => array('td_block_12'), 'excerpt_title' => 15, 'excerpt_content' => 35, 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => true, 'uses_columns' => false, 'category_label' => true), 'td_module_12' => array('text' => 'Module 12', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-12.png', 'used_on_blocks' => '', 'excerpt_title' => 30, 'excerpt_content' => 60, 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => true, 'uses_columns' => false, 'category_label' => true), 'td_module_13' => array('text' => 'Module 13', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-13.png', 'used_on_blocks' => '', 'excerpt_title' => 30, 'excerpt_content' => '', 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => true, 'uses_columns' => false, 'category_label' => true), 'td_module_14' => array('text' => 'Module 14', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-14.png', 'used_on_blocks' => array('td_block_13'), 'excerpt_title' => 30, 'excerpt_content' => 40, 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => true, 'uses_columns' => false, 'category_label' => true), 'td_module_15' => array('text' => 'Module 14', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-15.png', 'used_on_blocks' => array('td_block_13'), 'excerpt_title' => '', 'excerpt_content' => '', 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => true, 'uses_columns' => false, 'category_label' => true), 'td_module_mx1' => array('text' => 'Module MX1', 'img' => '', 'used_on_blocks' => array('td_block_14', 'td_block_15'), 'excerpt_title' => 25, 'excerpt_content' => '', 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => false, 'uses_columns' => false, 'category_label' => true), 'td_module_mx2' => array('text' => 'Module MX2', 'img' => '', 'used_on_blocks' => array('td_block_15'), 'excerpt_title' => 25, 'excerpt_content' => '', 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => false, 'uses_columns' => false, 'category_label' => true), 'td_module_mx3' => array('text' => 'Module MX3', 'img' => '', 'used_on_blocks' => array('td_block_13'), 'excerpt_title' => 25, 'excerpt_content' => '', 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => false, 'uses_columns' => false, 'category_label' => true), 'td_module_mx4' => array('text' => 'Module MX4', 'img' => '', 'used_on_blocks' => array('td_block_16'), 'excerpt_title' => 12, 'excerpt_content' => '', 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => false, 'uses_columns' => false, 'category_label' => true), 'td_module_related_posts' => array('text' => 'Related posts module', 'img' => '', 'used_on_blocks' => array('td_related_posts'), 'excerpt_title' => '', 'excerpt_content' => '', 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => false, 'uses_columns' => false, 'category_label' => true), 'td_module_mega_menu' => array('text' => 'Mega menu module', 'img' => '', 'used_on_blocks' => array('td_mega_menu'), 'excerpt_title' => '', 'excerpt_content' => '', 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => false, 'uses_columns' => false, 'category_label' => true), 'td_module_big_grid' => array('text' => 'Big grid module', 'img' => '', 'used_on_blocks' => array('td_block_big_grid'), 'excerpt_title' => '', 'excerpt_content' => '', 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => false, 'uses_columns' => false, 'category_label' => true), 'td_module_slide' => array('text' => 'Slider module', 'img' => '', 'used_on_blocks' => array('td_slide'), 'excerpt_title' => '', 'excerpt_content' => '', 'enabled_on_more_articles_box' => false, 'enabled_on_loops' => false, 'uses_columns' => false, 'category_label' => true));
     //print_r(td_global::$post_templates_list);
     td_global::$js_files = array_merge(td_global::$js_files, array('td_main' => '/includes/js_files/td_main.js'));
     /** add our theme specific javascript files, we just marge them to the existing ones from wp booster @see td_global */
     /**
      * the thumbs used by the theme
      * Thumb id => array parameters. Wp booster only cuts if the option is set from theme panel
      */
     td_global::$thumbs_list = array(array('name' => 'td_0x420', 'width' => 0, 'height' => 420, 'crop' => array('center', 'top'), 'used_on' => array('tagDiv Image Gallery')), array('name' => 'td_80x60', 'width' => 80, 'height' => 60, 'crop' => array('center', 'top'), 'used_on' => array('Block 15', 'Live search')), array('name' => 'td_100x75', 'width' => 100, 'height' => 75, 'crop' => array('center', 'top'), 'used_on' => array('Module 6, 7', 'Block 1, 2, 7, 8')), array('name' => 'td_180x135', 'width' => 180, 'height' => 135, 'crop' => array('center', 'top'), 'used_on' => array('Module 10', 'Block 11', 'Mega menu')), array('name' => 'td_238x178', 'width' => 238, 'height' => 178, 'crop' => array('center', 'top'), 'used_on' => array('Module 11', 'Block 12', 'Big grid - small image', 'Related articles')), array('name' => 'td_300x160', 'width' => 300, 'height' => 160, 'crop' => array('center', 'top'), 'used_on' => array('Module 1, 2', 'Block 3, 4')), array('name' => 'td_300x194', 'width' => 300, 'height' => 194, 'crop' => array('center', 'top'), 'used_on' => array('Module 3, 4, 5', 'Block 1, 2, 5, 6, 16')), array('name' => 'td_300x350', 'width' => 300, 'height' => 350, 'crop' => array('center', 'top'), 'used_on' => array('Post style 1', 'Slide - 1 column', 'Smart list style 3')), array('name' => 'td_341x220', 'width' => 341, 'height' => 220, 'crop' => array('center', 'top'), 'used_on' => array('Block 13, 14, 15')), array('name' => 'td_537x360', 'width' => 537, 'height' => 360, 'crop' => array('center', 'top'), 'used_on' => array('Big grid - large image')), array('name' => 'td_640x0', 'width' => 640, 'height' => 0, 'crop' => array('center', 'top'), 'used_on' => array('Default post template', 'Post style 2', 'Module 12, 13, 15', 'Smart list style 1, 2')), array('name' => 'td_640x350', 'width' => 640, 'height' => 350, 'crop' => array('center', 'top'), 'used_on' => array('Slide - 2 columns')), array('name' => 'td_681x0', 'width' => 681, 'height' => 0, 'crop' => array('center', 'top'), 'used_on' => array('Post style 3', 'Module 14', 'Block 13')), array('name' => 'td_1021x580', 'width' => 1021, 'height' => 580, 'crop' => array('center', 'top'), 'used_on' => array('Post style 4, 5, 8', 'Slide - 3 columns(full)')));
     td_global::$header_style_list = array('' => array('text' => '<strong>Style 1 - </strong> default'), '2' => array('text' => '<strong>Style 2 - </strong> logo on colored box'), '3' => array('text' => '<strong>Style 3 - </strong> full top menu'), '4' => array('text' => '<strong>Style 4 - </strong> logo in menu'), '5' => array('text' => '<strong>Style 5 - </strong> logo in full menu on top'), '6' => array('text' => '<strong>Style 6 - </strong> top menus + logo and ad'), '7' => array('text' => '<strong>Style 7 - </strong> full header logo'), '8' => array('text' => '<strong>Style 8 - </strong> full header logo + full menu'), '9' => array('text' => '<strong>Style 9 - </strong> full menus + logo in menu'), '10' => array('text' => '<strong>Style 10 - </strong> full menu + text logo'));
     td_global::$blocks_map_list = array('td_block_1' => array("name" => 'Block 1', "base" => 'td_block_1', "class" => 'td_block_1', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_1', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_2' => array("name" => 'Block 2', "base" => 'td_block_2', "class" => 'td_block_2', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_2', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_3' => array("name" => 'Block 3', "base" => 'td_block_3', "class" => 'td_block_3', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_3', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_4' => array("name" => 'Block 4', "base" => 'td_block_4', "class" => 'td_block_4', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_4', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_5' => array("name" => 'Block 5', "base" => 'td_block_5', "class" => 'td_block_5', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_5', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_6' => array("name" => 'Block 6', "base" => 'td_block_6', "class" => 'td_block_6', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_6', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_7' => array("name" => 'Block 7', "base" => 'td_block_7', "class" => 'td_block_7', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_7', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_8' => array("name" => 'Block 8', "base" => 'td_block_8', "class" => 'td_block_8', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_8', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_9' => array("name" => 'Block 9', "base" => 'td_block_9', "class" => 'td_block_9', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_9', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_10' => array("name" => 'Block 10', "base" => 'td_block_10', "class" => 'td_block_10', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_10', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_11' => array("name" => 'Block 11', "base" => 'td_block_11', "class" => 'td_block_11', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_11', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_12' => array("name" => 'Block 12', "base" => 'td_block_12', "class" => 'td_block_12', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_12', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_13' => array("name" => 'Block 13', "base" => 'td_block_13', "class" => 'td_block_13', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_13', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_14' => array("name" => 'Block 14', "base" => 'td_block_14', "class" => 'td_block_14', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_14', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_15' => array("name" => 'Block 15', "base" => 'td_block_15', "class" => 'td_block_15', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_15', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_16' => array("name" => 'Block 16', "base" => 'td_block_16', "class" => 'td_block_16', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_16', "params" => array_merge(td_global::get_map_filter_array(), td_global::get_map_block_array())), 'td_block_big_grid' => array("name" => 'Big Grid', "base" => 'td_block_big_grid', "class" => 'td_block_big_grid', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_big_grid', "params" => self::td_block_big_grid_params()), 'td_block_trending_now' => array("name" => 'News ticker', "base" => 'td_block_trending_now', "class" => 'td_block_trending_now', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_trending_now', "params" => self::td_block_trending_now_params()), 'td_video_youtube' => array("name" => 'Video Playlist', "base" => "td_video_youtube", "class" => "td_block_video_playlist_youtube", "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td-youtube', "params" => array(array("param_name" => "playlist_title", "type" => "textfield", "value" => "", "heading" => "Optional - custom title for this block:", "description" => "", "holder" => "div", "class" => ""), 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" => "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" => ""))), 'td_video_vimeo' => array("name" => 'Video Playlist', "base" => "td_video_vimeo", "class" => "td_block_video_playlist_vimeo", "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td-vimeo', "params" => array(array("param_name" => "playlist_title", "type" => "textfield", "value" => "", "heading" => "Optional - custom title for this block:", "description" => "", "holder" => "div", "class" => ""), 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" => ""))), 'td_ad_box' => array("name" => 'Ad box', "base" => 'td_ad_box', "class" => "", "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-ads', "params" => array(array("param_name" => "spot_id", "type" => "dropdown", "value" => array('sidebar' => 'sidebar', 'content_inline' => 'content_inline', 'content_top' => 'content_top', 'content_bottom' => 'content_bottom', 'header' => 'header', 'custom_ad_1' => 'custom_ad_1', 'custom_ad_2' => 'custom_ad_2', 'custom_ad_3' => 'custom_ad_3'), "heading" => 'Use adspot :', "description" => "", "holder" => "div", "class" => ""), 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" => ""))), 'td_authors' => array("name" => 'Authors box', "base" => "td_authors", "class" => "", "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_authors', "params" => array(array("param_name" => "title", "type" => "textfield", "value" => '', "heading" => "Block title", "description" => "", "holder" => "div", "class" => ""), 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" => ""), array("param_name" => "exclude", "type" => "textfield", "value" => '', "heading" => "Exclude authors id (, separated)", "description" => "", "holder" => "div", "class" => ""), array("param_name" => "include", "type" => "textfield", "value" => '', "heading" => "Include authors id (, separated) - do not use with exclude", "description" => "", "holder" => "div", "class" => ""), array("type" => "colorpicker", "holder" => "div", "class" => "", "heading" => 'Header color', "param_name" => "header_color", "value" => '', "description" => 'Choose a custom header color for this block'))), 'td_homepage_full_1' => array("name" => 'Homepage post', "base" => 'td_homepage_full_1', "class" => 'td_homepage_full_1', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_homepage_full_1', "params" => self::td_homepage_full_1_params()), 'td_popular_categories' => array("name" => 'Popular category', "base" => "td_popular_categories", "class" => "td_popular_categories", "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-popular_categories', "params" => array(array("param_name" => "custom_title", "type" => "textfield", "value" => "POPULAR CATEGORIES", "heading" => 'Optional - custom title for this block:', "description" => "", "holder" => "div", "class" => ""), array("param_name" => "custom_url", "type" => "textfield", "value" => "", "heading" => 'Optional - custom url for this block (when the module title is clicked):', "description" => "", "holder" => "div", "class" => ""), array("type" => "colorpicker", "holder" => "div", "class" => "", "heading" => 'Header color', "param_name" => "header_color", "value" => '', "description" => 'Choose a custom header color for this block'), array("type" => "colorpicker", "holder" => "div", "class" => "", "heading" => 'Header text color', "param_name" => "header_text_color", "value" => '', "description" => 'Choose a custom header color for this block'), array("param_name" => "limit", "type" => "textfield", "value" => "6", "heading" => 'Limit the number of categories shown:', "description" => "", "holder" => "div", "class" => ""))), 'td_slide' => array("name" => 'Slide', "base" => "td_slide", "class" => "td_slide", "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-slide', "params" => self::td_slide_params()), 'td_text_with_title' => array("name" => 'Text with title', "base" => "td_text_with_title", "class" => "", "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-title', "params" => array(array("param_name" => "custom_title", "type" => "textfield", "value" => '', "heading" => "Block title", "description" => "", "holder" => "div", "class" => ""), array("param_name" => "content", "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => 'Text', "value" => "", "description" => 'Enter your content.'), array("param_name" => "border_top", "type" => "dropdown", "value" => array('- With border -' => '', 'no border' => 'no_border_top'), "heading" => 'Border top:', "description" => "By default all the blocks have a border at the top. You may wish to remove that in some cases (like when the block it's the first in a sidebar)", "holder" => "div", "class" => ""), array("type" => "colorpicker", "holder" => "div", "class" => "", "heading" => 'Header color', "param_name" => "header_color", "value" => '', "description" => 'Choose a custom header color for this block'), array("type" => "colorpicker", "holder" => "div", "class" => "", "heading" => 'Header text color', "param_name" => "header_text_color", "value" => '', "description" => 'Choose a custom header color for this block'))));
     if (is_admin()) {
         /**
          * the stacks are stored in /includes/stacks
          * stack_filename (without .txt) => stack_name
          * @var array
          */
         td_global::$stacks_list = array('classic_blog' => 'Classic blog', 'fashion' => 'Fashion', 'sport' => 'Sport', 'tech' => 'Tech', 'video' => 'Video');
     }
 }