New

We just released a new plugin bundle: Struninn - Elementor Plugins Bundle! 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

Stream Plugin

WordPress Shortcodes

The plugin provides shortcodes for the following widgets:

Channel Subscribe Button

Syntax

[struninntwitch_channel_subscribe_button]

Parameters

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

text
(string) (Optional) Button text.
Default value: ‘Subscribe!’

before_text
(string) (Optional)
Content to insert before button text.

after_text
(string) (Optional)
Content to insert after button text.

href
(string) (Optional)
Button link URL.

target
(string) (Optional)
Button target.
Default: ‘_blank’

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

Example

[struninntwitch_channel_subscribe_button text="Subscribe to my channel!" additional_wrapper_classes="custom-class-1,custom-class-2"]

Channel Videos

Syntax

[struninntwitch_channel_videos]

Parameters

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

first
(int) (Optional) Amount of videos to display.
Default value: 1

type
(string) (Optional) Type of videos to display, one of: ‘all’, ‘upload’, ‘archive’, ‘highlight’.
Default value: ‘archive’

hide_more_button
(bool) (Optional) 
True to hide more button.
Default value: false

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

Example

[struninntwitch_channel_videos first="4" type="upload" hide_more_button="true"]

Channel Stream

Syntax

[struninntwitch_channel_stream]

Parameters

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

theme
(string) (Optional) 
Stream player theme, one of: ‘dark’, ‘light’.
Default value: ‘dark’

muted
(bool) (Optional) 
True to mute the stream.
Default value: true

autoplay
(bool) (Optional) 
True to autoplay the stream.
Default value: true

chat
(bool) (Optional) 
True to display stream chat.
Default value: true

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

Example

[struninntwitch_channel_stream autoplay="false" chat="false"]