1. Documentation
  2. Shortcodes
  3. [gamipress_rank]

[gamipress_rank]

Render a single rank.

Attributes:

  • id – The ID of the rank to render.
  • title – Display the rank title. Default: yes
  • link – Add a link on rank title to the rank page. Default: yes
  • thumbnail – Display the rank featured image. Default: yes
  • excerpt – Display the rank short description. Default: yes
  • requirements – Display the rank requirements. Default: yes
  • toggle – Display the rank requirements toggle. Default: yes
  • unlock_button – Display the “Unlock using points” (on ranks where unlock with points is allowed). Default: yes
  • earners – Display a list of users that has earned the rank. Default: no
  • layout – Layout to show the rank. Accepts: left, top, right, bottom or none Default: left

Example: [gamipress_rank id="1" title="yes" link="yes" thumbnail="yes" excerpt="yes" requirements="yes" toggle="yes" earners="no" layout="left"]

Was this article helpful to you? Yes No

How can we help?