New

We just released a new theme: Valkivid - WordPress Theme for Youtubers and Streamers! We'll be having a discount price for just a few days, so hurry up and check it out!

Our Envato Profile

Documentation

Struninn – Elementor Widgets

wordpress

shortcodes

elementor

react

Feed and Playlist Slider Plugin

WordPress Shortcodes

The plugin provides shortcodes for the following widgets:

Channel Video List

Syntax

[struninnyoutube_channel_video_list]

Parameters

additional_wrapper_classes
(string) (Optional) Additional classes for the wrapper (comma separated).

template
(string) (Optional) Channel video list template, one of: ‘grid’, ‘slider’.
Default value: ‘grid’

playlist_id
(string | bool) (Optional)
ID of the playlist to retrieve videos from, or false to return videos from the channel.
Default value: false

display_thumbnail
(bool) (Optional)
True to display video thumbnail, false to display iframe.
Default value: false

order
(string) (Optional)
Order in which the videos are returned, one of: ‘date’, ‘rating’, ‘viewCount’.
Default value: ‘date’

max_results
(int) (Optional)
Amount of videos to retrieve (0 – 50).
Default value: 5

rtl
(bool) (Optional)
True if using right to left text.
Default value: false

styles
(string) (Optional)
Additional inline styles for the wrapper.

slides_per_view
(string | int) (Optional)
Number of slides per view, or ‘auto’ (‘slider’ template only).
Default value: ‘auto’

space_between
(int) (Optional)
Space between slides (‘slider’ template only).
Default value: 20

centered_slides
(bool) (Optional)
True to center slides (‘slider’ template only).
Default value: false

loop
(bool) (Optional)
True to loop slides (‘slider’ template only).
Default value: false

autoplay
(bool) (Optional)
True to autoplay slides (‘slider’ template only).
Default value: false

autoplay_delay
(int) (Optional)
Delay between autoplay of slides in milliseconds (‘slider’ template only).
Default value: 3000

controls
(bool) (Optional)
True to display slider controls (‘slider’ template only).
Default value: true

Example

[struninnyoutube_channel_video_list template="slider" additional_wrapper_classes="custom-class-1,custom-class-2"]

Channel Playlist List

Syntax

[struninnyoutube_channel_playlist_list]

Parameters

additional_wrapper_classes
(string) (Optional) Additional classes for the wrapper (comma separated).

max_results
(int) (Optional)
Amount of playlists to retrieve (0 – 50).
Default value: 5

rtl
(bool) (Optional)
True if using right to left text.
Default value: false

styles
(string) (Optional)
Additional inline styles for the wrapper.

slides_per_view
(string | int) (Optional)
Number of slides per view, or ‘auto’ (‘slider’ template only).
Default value: ‘auto’

space_between
(int) (Optional)
Space between slides (‘slider’ template only).
Default value: 0

centered_slides
(bool) (Optional)
True to center slides (‘slider’ template only).
Default value: true

loop
(bool) (Optional)
True to loop slides (‘slider’ template only).
Default value: true

autoplay
(bool) (Optional)
True to autoplay slides (‘slider’ template only).
Default value: false

autoplay_delay
(int) (Optional)
Delay between autoplay of slides in milliseconds (‘slider’ template only).
Default value: 3000

controls
(bool) (Optional)
True to display slider controls (‘slider’ template only).
Default value: true

Example

[struninnyoutube_channel_playlist_list controls="false" additional_wrapper_classes="custom-class-1,custom-class-2"]