This shortcode is deprecated. Consider using Image Carousel instead.
Table of contents
This shortcode allows you to create beautiful sliders.
| Option name | Possible values | Default value |
|---|---|---|
| source Choose images source. You can use images from Media library or retrieve it from posts (thumbnails) posted under specified blog category. You can also pick any custom taxonomy | media: 1,2,3 (Media file IDs) posts: 1,2,3 (Post IDs) posts: recent (Recent posts) taxonomy: book/3,5 (Taxonomy term slug / term IDs) | none |
| limit Maximum number of image source posts (for recent posts, category and custom taxonomy) | Number from -1 to 100 | 20 |
| link Select which links will be used for images in this gallery | none (None) image (Full-size image) lightbox (Lightbox) custom (Slide link (added in media editor)) attachment (Attachment page) post (Post permalink) | none |
| target Open links in | self (Open in same tab) blank (Open in new tab) | self |
| width Slider width (in pixels) | Number from 200 to 1600 | 600 |
| height Slider height (in pixels) | Number from 200 to 1600 | 300 |
| responsive Ignore width and height parameters and make slider responsive | yes or no | yes |
| title Display slide titles | yes or no | yes |
| centered Is slider centered on the page | yes or no | yes |
| arrows Show left and right arrows | yes or no | yes |
| pages Show pagination | yes or no | yes |
| mousewheel Allow to change slides with mouse wheel | yes or no | yes |
| autoplay Choose interval between slide animations. Set to 0 to disable autoplay | Number from 0 to 100000 | 5000 |
| speed Specify animation speed | Number from 0 to 20000 | 600 |
| class Additional CSS class name(s) separated by space(s) | CSS class name(s) separated by space(s) | – none – |
Photos by Matt Palmer