Example #1
0
 /**
  * Map array for sliders
  * @return array VC_MAP params
  */
 private 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(array(array("param_name" => "autoplay", "type" => "textfield", "value" => '', "heading" => 'Autoplay slider (at x seconds)', "description" => "Leave empty do disable autoplay", "holder" => "div", "class" => "")), self::get_map_filter_array(), $map_block_array);
     return $temp_array_merge;
 }