1. Documentation
  2. Shortcodes
  3. [gamipress_logs]

[gamipress_logs]

Output a list of logs.

Attributes:

  • 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.
  • 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.

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

Was this article helpful to you? Yes No

How can we help?