1. Documentation
  2. Shortcodes
  3. [gamipress_user_rank]

[gamipress_user_rank]

Output previous, current and/or next rank of an user.

Attributes:

  • type – Choose the rank type to display. Accepts: Any slug of a rank type.
  • prev_rank – Show the previous user rank. Default: yes
  • current_rank – Show the current user rank. Default: yes
  • next_rank – Show the next user rank. Default: yes
  • current_user – Show the current logged in user ranks. Default: yes
  • user_id – Show a specific user ranks.
  • columns – Columns to divide ranks. Accepts: 1, 2, 3 Default: 1
  • 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 actually are in this rank. Default: no
  • layout – Layout to show the achievement. Accepts: left, top, right, bottom or none Default: left

Example: [gamipress_user_rank type="level" prev_rank="yes" current_rank="yes" next_rank="yes" current_user="yes" columns="3" title="yes" link="yes" thumbnail="yes" excerpt="yes" requirements="yes" toggle="yes" layout="left"]

Was this article helpful to you? Yes No

How can we help?