Shortcodes

Shortcodes

Menu Shortcode

The menu can be displayed using the shortcode [video-contest-menu]. It will then be displayed on every page of the contest.
It may be modified further by, e.g., changing the colour in contest settings
All possible values – grey (default), blue, light-blue, green, light-green, brown, maroon, red, orange, dark-orange, yellow, purple, light-purple, pink, black, silver

Shortcode example:

[video-contest-menu]



Contest Shortcode

Default shortcode for contest is [video-contest-page]. This shortcode is without other attributes

Shortcode example:

[video-contest-page]



Contest Width Shortcode

There are thousands of WordPress layouts of various colours and sizes. The plugin should adapt to these in most cases. But it may not in every case. This shortcode helps you control a width of the contest. This code has a start and end tag. Maximum value you can set is 1100 ( 1100 = 1100px).
Start Tag – [video-contest-width]
End Tag – [/video-contest-width]
Start Tag have only one, but required, attribute “width”. So if you wanna use this shortcode you must set the attribute width

Shortcode example:

[video-contest-width width="645"][video-contest-menu][video-contest-page][/video-contest-width]



Single Video Shortcode

If you wanna show single video, from video contest, in your post/page use shortcode
You can also control video width using attribute “width”

Shortcode example:

[contest-single-video id="73" width="300"]



Rules & Prizes Shortcode

If you wanna show rules from specific contest, use special shortcode in your post/page
[video-contest-rules id="CONTEST-ID"]
where CONTEST-ID is the ID of the contest. This ID you will find in admin area “Video Contest -> Contest” section

Shortcode example:

[video-contest-rules id="15"]