Shortcodes

Show contest

Example:
[fv id="##"]
(don’t forget to fill the contest id)

Allowed params:

  • theme – you can override the global settings of the list skin (enter skin slug, like “beauty”)
  • sorting – you can override contest “order by” setting (entrer valid order type, like “newest”)
  • upload_theme – will be passed to Upload form, if it was enabled
  • show_opened – will be passed to Upload form, if it was enabled
  • apply_upload_dates – will be passed to Upload form, if it was enabled
  • upload_not_active_msg – will be passed to Upload form, if it was enabled
  • winners_skin – winners block design
    Allowed values: [“red”, “simple”]
  • winners_width – width of winners block
    Allowed values: [100-999]

Show upload form

If you want to place an upload form in a page other than that of the contest, you need to use:

[fv_upload_form contest_id="##" show_opened=1]

Allowed params:

  • show_opened [0 or 1] – is form files must be visible or just Form title (so user need click into title for toogle form fields)
  • apply_upload_dates [0 or 1] – is need check upload dates and do not display upload form if dates expired or not started yes (or contest was finished)?
  • upload_not_active_msg [string] – work with param “apply_upload_dates” and allows override global message about inactive upload
  • upload_theme [“default”, etc] – you can override contest “upload theme” paramater

Show countdown

[fv_countdown contest_id="##" type="default"]
Parameter “type”: countdown design. If empty, the option from Contest settings will be used.

Show contest leaders

[fv_leaders contest_id="##" hide_title=0 type="poll"]

Allowed params:

  • hide_title – is it need hide block title?
    Allowed values: [0 or 1] or [true / false]
  • count – how many leaders display?
    Allowed values: [1-10]
    For “block”, “block_2” type recommended value is 1-4
  • type – block design
    Allowed values: [“poll”, “text”, “block”, “block_2”, “table_1”, “table_2”]
  • leaders_width – width of leaders block (applicable for “block”, “block_2”)
    Allowed values: [100-999]

Show contest list

[fv_contests_list type="*" count="50" thumb_width=400 thumb_height=400 thumb_crop=1]
Note: your need to select one of the following options: active/upload_opened/finished.

Allowed params:

  • skin – use following skin
    Allowed values: [“default”, “grid”]
    Default: “default”
  • type
    Allowed values: [“*”, “active”, “upload_opened”, “finished”]
  • sort – order contests by following filed
    Allowed values: [“date_start”, “date_finish”, “name”]
  • order – ascending  or descending order
    Allowed values: [“DESC”, “ASC”]
  • count – how many contests show?
    Allowed values: [1-99]
    Default: 6
  • thumb_width – thumbnails width
    Allowed values: [100-2000]
    Default: 400
    Since: 2.2.706
  • thumb_height – thumbnails height
    Allowed values: [100-2000]
    Default: 400
    Since: 2.2.706
  • thumb_crop – thumbnails cropping
    Allowed values: 1 or 0 (means yes,no)
    Default: 1
    Since: 2.2.706
  • per_row_md – rows count with screen size > 996 px
    Applies only for “default” skin
    Allowed values: [1-4]
    Default: 3
    Since: 2.2.500
  • per_row_sm – rows count with screen size in 768 – 996 px
    Applies only for “default” skin
    Allowed values: [1-4]
    Default: 2
    Since: 2.2.500
  • per_row_xs – rows count on mobile
    Applies only for “default” skin
    Allowed values: [1-4]
    Default: 1
    Since: 2.2.500

Last update: April 25, 2017