"", "number_of_visible_items" => "", "orderby" => "date", "order" => "ASC", "show_in_two_rows" => "" ); extract(shortcode_atts($args, $atts)); $html = ""; $carousel_holder_classes = ""; if ($carousel != "") { if($show_in_two_rows == 'yes') { $carousel_holder_classes = ' two_rows'; } $visible_items = ""; switch ($number_of_visible_items) { case 'four_items': $visible_items = 4; break; case 'five_items': $visible_items = 5; break; default: $visible_items = ""; break; } $html .= "
"; $html .= "
"; } return $html; } add_shortcode('qode_carousel', 'qode_carousel'); }