1. Documentation
  2. Shortcodes
  3. [gamipress_earnings]

[gamipress_earnings]

Output a list of user earnings.

Attributes:

  • current_user – Show only earned items of the current logged in user. Default: yes
  • user_id – Show only earned items by a specific user.
  • limit – Number of items to display. Default: 10
  • pagination – Show pagination links to navigate through all earned items. Default: yes
  • order – Sort order. Accepts: DESC, ASC Default: DESC
  • points – Show points earned and deducted. Default: yes
  • points_types – Single or comma-separated list of points type(s) to display. Accepts: all or any slug of any points type. Default: all
  • awards – Show points awarded. Default: yes
  • deducts – Show points deducted. Default: yes
  • achievements – Show achievements earned. Default: yes
  • achievement_types – Single or comma-separated list of achievements type(s) to display. Accepts: all or any slug of any achievement type. Default: all
  • steps – Show steps completed. Default: yes
  • ranks – Show ranks reached. Default: yes
  • rank_types – Single or comma-separated list of ranks type(s) to display. Accepts: all or any slug of any rank type. Default: all
  • rank_requirements – Show rank requirements completed. Default: yes

Example: [gamipress_earnings current_user="yes" user_id="1" limit="10" pagination="yes" order="DESC" points="yes" points_types="all" awards="yes" deducts="yes" achievements="yes" achievement_types="all" steps="yes" ranks="yes" rank_types="all" rank_requirements="yes"]

Was this article helpful to you? Yes No

How can we help?