Carousel Shortcode

The carousel allows you to display images, logos, or anything else in a rotating carousel.

Shortcode:

[carousel], [carousel_item]

Attributes:

id
This is the "name" of your carousel. It is used as an identifier if you have multiple different carousels on the same page. It can have any single word string value but each must be unique

visible
Can have the value of any number. This sets how many items are visible in the carousel at any one time.

autoplay
Can have the value "true" or "false." This sets whether the carousel autoscrolls on a timer. Default value is "false."

responsive
Can have the value "true" or "false." This sets whether the carousel responds to responsive events (showing fewer items for smaller views). Default value is "true."

Examples:

[carousel id="myCarousel" visible="4" autoplay="false" responsive="true"] [carousel_item]<img src="https://www.9bitstudios.com/images/wordpress-themes/logo-amazon.png" alt="" width="100" height="45">[/carousel_item] [/carousel_item] [carousel_item]<img src="https://www.9bitstudios.com/images/wordpress-themes/logo-microsoft.png" alt="" width="100" height="45">[/carousel_item][/carousel]
Back to Shortcodes »