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
  • 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
  • earners – Display a list of users that actually are in this rank. Default: no

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

Was this article helpful to you? Yes No

How can we help?