1. Documentation
  2. Shortcodes
  3. [gamipress_points]

[gamipress_points]

Output an user points balance.

Attributes:

  • current_user – Show points balance of current logged in user. Accepts: yes, no Default: no
  • type – Single, or comma-separated list of, points type(s) to display. Accepts: all or any slug of any points type. Default: all
  • columns – Columns to divide each points balance. Accepts: 1, 2, 3, 4, 5, 6 Default: 1
  • thumbnail – Display the points type featured image. Default: yes
  • label – Display the points type label (singular or plural name, based on the amount of points). Default: yes
  • current_user – Show only points earned by the current logged in user. Default: no
  • user_id – Show only points earned by a specific user. Leave blank to show points of logged in user.
  • layout – Layout to show the points. Accepts: left, top, right, bottom or none Default: left
  • wpms – Show points from all network sites.

Example: [gamipress_points type="all" columns="3" thumbnail="yes" label="yes" user_id="1" layout="left"]

Was this article helpful to you? Yes No

How can we help?