1. Documentation
  2. Shortcodes
  3. [gamipress_last_achievements_earned]

[gamipress_last_achievements_earned]

Display the last achievements earned by the current user or a desired user.

Preview:

Attributes:

  • type – The type of the last achievement earned. Accepts: Any slug of any achievement type.
  • current_user – Show last achievement earned of current logged in user. Accepts: yes or no Default: yes
  • user_id – Show last achievement earned earned by a specific user.
  • limit – Number of achievements to display. Default: 1
  • columns – Columns to divide achievements (only used when limit is higher than 1).
  • This shortcode accepts all attributes of [gamipress_achievement] to setup the achievement display.

Example:
[gamipress_last_achievements_earned type="badges" limit="1" columns="1"]

How can we help?