# Video Pro – Documentation

Search for:

# 2. Post Slider

NOTE

Video Pro slider shortcodes should be used in a full-width row (col-span-12) only

SCREENSHOT

THE CODE

`[videopro_slider title="" custom_button_url="" custom_button_target=" layout="" count="" condition="" order="" cats="" tags="" ids="" show_datetime="" show_author="" show_comment_count="" show_like="" show_rating="" show_video_duration="" custom_button="" videoplayer_lightbox="" videoplayer_inline="" post_format=""]`

PARAMS

The Post Slider shortcode has the following variables/options:

- title – string – enter heading text of the slider. Applied for layout 1, 2 and 6

- custom_button – string – Text for a custom button. If empty, button is hidden. Applied for layout 1, 2 and 6
- custom_button_url – URL – URL of the button. Applied for layout 1, 2 and 6

- count – number – Number of items
- condition – select – condition to query items
  - latest – order by published date
  - view – order by most viewed posts
  - like – order by most liked posts
  - comment – order by most commented posts
  - title – order by title alphabetically
  - input – order by input ID (only available when using ids parameter)
- order– select

- videoplayer_inline – 1/0 – Enable Video Player for video items. Applied for layout 7, 8, 9, 10, 11
- videoplayer_lightbox – 1/0 – Enable lightbox for video player if item is video post.
- custom_button_target – select – URL target of the button
  - (empty) – open URL in current tab
  - _blank – open URL in new tab
- show_duration – 1/0 – Show video duration, if it is Video Post
- show_rating – 1/0 – Show post rating value, require Cactus-Rating plugin installed
- show_like – 1/0 – Show post Like button, require WTI Like Post plugin installed
- show_comment_count – 1/0 – Show post comment count number
- show_author – 1/0 – Show post author name
- show_datetime – 1/0 – Show post published date, time
- ids – mix – list of post IDs to query, separated by a comma. If this value is not empty, cats, tags and featured are omitted
- post_format – select – select Post Format is
  - Standard
  - Video
  - Audio
  - Gallery
- tags – mix – list of tags to query items from, separated by a comma. For example: tag-1, tag-2, tag-3
- cats – mix – list of categories (ID) to query items from, separated by a comma. For example: 1, 2, 3
  - asc – Ascending
  - desc – Descending
- layout – select – choose one of pre-defined layouts. Please check here to get the previews of all Post Slider layouts

### Articles

- Post Slider layouts

OPEN NEW TICKET