1. Documentation
  2. Shortcodes
  3. [gamipress_logs]


Output a list of logs.



  • type – Single or comma-separated list of log type(s) to display. Accepts: all, event_trigger, achievement_earn, achievement_award, points_earn, points_deduct, points_expend, points_award, points_revoke, rank_earn and rank_award Default: all
  • current_user – Show logs by current logged in user. Accepts: yes, no Default: no
  • user_id – Show only logs by a specific user. Leave blank to show logs of all users.
  • access – Set the access type of logs to display. Some logs has a private access like event trigger logs. Accepts: any, public, private Default: any
  • limit – Number of log entries to display. Default: 10
  • pagination – Show pagination links to navigate through all log entries. Default: yes
  • orderby – Parameter to use for sorting. Accepts: date, log_id, title, user_id, rand Default: date
  • order – Sort order. Accepts: ASC, DESC Default: ASC
  • include – Comma-separated list of specific log entries IDs to include.
  • exclude – Comma-separated list of specific log entries IDs to exclude.

[gamipress_logs user_id="1" limit="10" pagination="yes" orderby="date" order="ASC"]

Showing all users logs

[gamipress_logs] includes the ability to show all user logs. The unique thing you need is set the current_user attribute to no.

[gamipress_logs current_user="no"]

How can we help?