1. Shortcodes
  2. [gamipress_inline_user_rank]

[gamipress_inline_user_rank]

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

Preview:

Attributes:

  • type – 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.
  • This shortcode accepts all attributes of [gamipress_inline_rank] to setup the rank display.

Example:
[gamipress_inline_user_rank type="level" prev_rank="yes" current_rank="yes" next_rank="yes" current_user="yes"]

Was this article helpful to you? No Yes

How can we help?