1. Documentation
  2. Leaderboards
  3. [gamipress_leaderboard_user_position]

[gamipress_leaderboard_user_position]

Render the user position in a leaderboard.

Attributes:

  • id – The leaderboard ID to get the user position.
  • current_user – Show position of the current logged in user. Accepts: yes, no Default: yes
  • user_id – Show position of a specific user.
  • text – Text to show to users ranked on this leaderboard.
  • not_ranked_text – Text to show to users that has not reach any position on this leaderboard.

Example: [gamipress_leaderboard_user_position id="123" current_user="yes" text="you are in position {position} on {leaderboard_link}" not_ranked_text="you are not ranked on {leaderboard_link}"]

Was this article helpful to you? Yes No

How can we help?