1. Documentation
  2. Shortcodes
  3. [gamipress_ranks]

[gamipress_ranks]

Output a list of ranks.

Attributes:

  • type – Single or comma-separated list of rank type(s) to display. Accepts: all or any slug of any rank type. Default: all
  • columns – Columns to divide ranks. Accepts: 1, 2, 3, 4, 5 or 6 Default: 1
  • orderby – Parameter to use for sorting. Accepts: priority, ID, title, date, modified, rand, points_to_unlock Default: priority
  • order – Sort order. Accepts: ASC, DESC Default: DESC
  • current_user – Show current ranks of current logged in user. Accepts: yes, no Default: no
  • user_id – Show only the current ranks type by a specific user.
  • include – Comma-separated list of specific rank IDs to include.
  • exclude – Comma-separated list of specific rank IDs to exclude.
  • wpms – Show ranks from all network sites.
  • This shortcode accepts all attributes of [gamipress_rank] to setup the rank display.

Example:
[gamipress_ranks type="all" orderby="priority" order="DESC" user_id="1" include="1,2,3" exclude="4,5,6" wpms="no"]

Was this article helpful to you? Yes No

How can we help?