400, 'height' => 225, 'effect' => 'random', 'caption_opacity' => 1, 'animspeed' => 400, 'pausetime' => 5000, 'pauseonhover' => 'true', 'style' => '', 'annotation' => '', 'highlight' => 'false', ), $atts)); if (!preg_match_all("/(.?)\[(slide)\b(.*?)(?:(\/))?\](?:(.+?)\[\/slide\])?(.?)/s", $content, $matches)) return 'error parsing slider shortcode'; $params = array(); for($i=0; $i < count($matches[0]); $i++) $params[$i] = shortcode_parse_atts($matches[3][$i]); $id = md5(uniqid('', true)); ob_start(); $captions = array(); ?> [raw]