Users Information
Users Information

Knowledge Base

You can use the following shortcodes to display informations to your customers about their status

Points History

This shortcode displays a user’s points history.

[wr_show_history]

Options

Here are the available options for this shortcode :

  • system : (Optional, comma separated) Select the points and rewards systems you want to show. If left empty, all active systems are displayed. You can find the points and rewards systems names in WooRewards → Settings
  • count : (Optional) The number of rows to display. Default is 15.
  • columns : (Optional) The Columns to display (comma separated). The order in which you specify the columns will be the grid columns order. If not specified, the history will display the points and rewards system name, date, reason and points movement columns. Here are the different options available
    • system : The points and rewards system’s name.
    • date : The date at which the points movement happened.
    • descr : The operation’s description.
    • points : The amount of points earned or lost during the operation.
    • total : The new total of points in the user’s reserve at the end of the operation.
  • headers : (Optional) The column headers (comma separated). Must be specified if you specified the columns option. The headers must respect the same order than the ones of the previous option.

User Name and Title

This shortcode displays the user name and title

[wr_user_name title="yes"]

Options

Here are the available options for this shortcode

  • title : Shows the title if user unlocked a title reward.
  • raw : Defines if the name and title are put in stylable elements or not.

User Nickname and Title

This shortcode displays the user’s nickname (if any) and title

[wr_nickname title="yes"]

Options

Here are the available options for this shortcode

  • title : Shows the title if user unlocked a title reward.
  • raw : Defines if the nickname and title are put in stylable elements or not.
Was this article helpful?
Dislike 0
Views: 211

Continue reading

Previous: Referrals and Social Share
Next: Badges and Achievements