Shortcodes

= Menu Shortcode =

The menu can be displayed using 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 color in contest settings
All possible values – grey (default), blue, light-blue, green, light-green, brown, maroon, red, orange, dark-orage, yellow, purple, light-purple, pink, black, silver

= Contest Shortcode =

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

= 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 help you control width of the contest. This code have a start and end tag.

  • Start Tag – [video-contest-width]
  • End Tag – [/video-contest-width]

Start Tag have only one attribute “width”. So if you wanna use this shortcode you must set the attribute width

Example:
[video-contest-width width=”645″]
Width Value 645 = 645px

How to use shortcode [contest-width]:
[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 [contest-single-video id=”VIDEO-ID”]

Example:
[contest-single-video id=”73″]

You can also control video width/height using attribute “width” and “height” [contest-single-video id=”VIDEO-ID” width=”VIDEO-WIDTH” height=”VIDEO-HEIGHT”]

Example:
[contest-single-video id=”73″ width=”600″ height=”400″]
Width Value 600 = 600px
Height Value 400 = 400px