function get_map()
 {
     return array("name" => __("Slideshow 2", TT_THEME_NAME), "base" => "tt_block7", "class" => "tt_block7", "controls" => "full", "category" => __('Blocks', TT_THEME_NAME), 'icon' => 'icon-pagebuilder-block7', "params" => array(array("param_name" => "category_id", "admin_label" => true, "type" => "dropdown", "value" => tt_get_category2id_array(), "heading" => __("Category filter:", TT_THEME_NAME), "description" => "", "holder" => "div", "class" => ""), array("param_name" => "category_ids", "type" => "textfield", "value" => '', "heading" => __("Multiple categories filter:", TT_THEME_NAME), "description" => "To filter multiple categories, enter here the category IDs separated by commas (example: 13,23,18)", "holder" => "div", "class" => ""), array("param_name" => "tag_slug", "type" => "textfield", "value" => '', "heading" => __("Filter by tag slug:", TT_THEME_NAME), "holder" => "div", "class" => ""), array("param_name" => "limit", "type" => "textfield", "value" => __("5", TT_THEME_NAME), "heading" => __("Limit post number:", TT_THEME_NAME), "description" => "", "holder" => "div", "class" => ""), array("param_name" => "sort", "type" => "dropdown", "value" => array('- Latest -' => '', 'Popular' => 'popular'), "heading" => __("Sort order:", TT_THEME_NAME), "description" => "", "holder" => "div", "class" => "")));
 }
Example #2
0
 function get_map()
 {
     return array("name" => __("Carousel Posts", TT_THEME_NAME), "base" => "tt_block4", "class" => "tt_block4", "controls" => "full", "category" => __('Blocks', TT_THEME_NAME), 'icon' => 'icon-pagebuilder-block4', "params" => array(array("param_name" => "category_id", "admin_label" => true, "type" => "dropdown", "value" => tt_get_category2id_array(), "heading" => __("Category filter:", TT_THEME_NAME), "description" => "", "holder" => "div", "class" => ""), array("param_name" => "category_ids", "type" => "textfield", "value" => '', "heading" => __("Multiple categories filter:", TT_THEME_NAME), "description" => "To filter multiple categories, enter here the category IDs separated by commas (example: 13,23,18)", "holder" => "div", "class" => ""), array("param_name" => "tag_slug", "type" => "textfield", "value" => '', "heading" => __("Filter by tag slug:", TT_THEME_NAME), "holder" => "div", "class" => ""), array("param_name" => "limit", "type" => "textfield", "value" => __("9", TT_THEME_NAME), "heading" => __("Limit post number:", TT_THEME_NAME), "description" => "", "holder" => "div", "class" => ""), array("param_name" => "sort", "type" => "dropdown", "value" => array('- Latest -' => '', 'Popular' => 'popular'), "heading" => __("Sort order:", TT_THEME_NAME), "description" => "", "holder" => "div", "class" => ""), array("param_name" => "custom_title", "type" => "textfield", "value" => "", "heading" => __("Optional - custom title for this block:", TT_THEME_NAME), "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):", TT_THEME_NAME), "description" => "", "holder" => "div", "class" => ""), array("param_name" => "hide_title", "type" => "dropdown", "value" => array('- Show title -' => '', 'Hide title' => 'hide_title'), "heading" => __("Hide block title:", TT_THEME_NAME), "description" => "", "holder" => "div", "class" => "")));
 }