Slider
Return slider carousel.
Shortcode
[slider] [slider_item image="https://placeimg.com/1200/600/nature"][/slider_item] [slider_item image="https://placeimg.com/1200/600/nature"][/slider_item] [slider_item image="https://placeimg.com/1200/600/nature"][/slider_item] [/slider]
Attributes
Name | Type | Default | Description |
---|---|---|---|
slider | |||
columns | number | 1 | Number of visible images. |
gutter | number | 0 | Slide horizontal margin in pixels. |
autoplay | boolean | 1 | Auto animation. |
loop | boolean | 1 | Loop animation. |
animtime | number | 450 | Animation time in miliseconds. |
pausetime | number | 5000 | Pause time in miliseconds. |
nav | boolean | 1 | Prev/next navigation. |
dots | boolean | 1 | Dots navigation below slider. |
margin | number | Margin (top right bottom left) in pixels, e.g. to set 10 pixels margin bottom use: "0 0 10px 0". | |
slider_item | |||
image | url | Image url. | |
title | string | Caption title. | |
desc | string | Caption description. | |
link | url | Slider item link. | |
target | string | List item target. Set "_blank" to open link in a new window. |