Primary

[groups_group_info]

Show group information

This shortcode takes the following attributes to show information about a group:

  • group : (required) the group ID or name
  • show : (required) what to show, accepted values are: namedescriptioncount, users
  • single : (optional) used when show="count" and there is 1 member in the group
  • plural : (optional) used when show="count" and there is more than 1 member in the group, must contain %d to show the number of members

Examples:

  • [groups_group_info group="Registered" show="count"]
  • There [groups_group_info group="1" show="count" single="is one member" plural="are %d members"] in the [groups_group_info group="1" show="name"] group.