Slider

This shortcode is deprecated. Consider using Image Carousel instead.

Table of contents

  1. Description
  2. Options
  3. Related articles

Description

This shortcode allows you to create beautiful sliders.

Options

Option namePossible valuesDefault 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 10020
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 1600600
height
Slider height (in pixels)
Number from 200 to 1600300
responsive
Ignore width and height parameters and make slider responsive
yes or noyes
title
Display slide titles
yes or noyes
centered
Is slider centered on the page
yes or noyes
arrows
Show left and right arrows
yes or noyes
pages
Show pagination
yes or noyes
mousewheel
Allow to change slides with mouse wheel
yes or noyes
autoplay
Choose interval between slide animations. Set to 0 to disable autoplay
Number from 0 to 1000005000
speed
Specify animation speed
Number from 0 to 20000600
class
Additional CSS class name(s) separated by space(s)
CSS class name(s) separated by space(s)– none –

Photos by Matt Palmer

Helpful?
🤝 Thank you!