Competitions

Make sure that use of Competitions is enabled when using Competition shortcodes.

scm_competition_ranking

[scm_competition_ranking competition_id="postid" before="pre-html" after="post-html"]

Displays the ranking of a Competition given the Competition’s post-ID.

Parameters

  • competition_id
    The post ID of the Competition.
  • before (default: empty)
    HTML code that is displayed before displaying the ranking. Typically used in (child) themes only.
  • after (default: empty)
    HTML code that is displayed after displaying the ranking. Typically used in (child) themes only.

scm_competition_data

[scm_competition_data member_id="postid" before="pre-html" after="post-html"]

Lists the Competitions in which a Member (given by its post-ID) has participated as Competitor or Team Player.

Parameters

  • member_id
    The post ID of the Member.
  • before (default: empty string)
    HTML code that is displayed before displaying the ranking. Typically used in (child) themes only.
  • after (default: empty string)
    HTML code that is displayed after displaying the ranking. Typically used in (child) themes only.