WordPress Plugin Shortcodes

For most of the rendered elements there will be CSS classes applied and available for skinning, use the DOM inspector to see how their are applied and what the classes are.

[cs_online_players]

Displays a table with players currently online. Maximum number of players allowed to be listed is 50.

Attribute Description Default Value
max_display_items Number of players to list 10
tables Display list of tables seated at false

Example:

[cs_online_players max_display_items="20" tables="true"]

Note that including the tables in the list is a more costful operation and will take longer to load.

Also note that the table-links rendered will only work if you have enabled deep linking

Styling
To show the avatar picture you *must* set the size of the avatars by using the following CSS rule. You can include this inline on your WordPress page or by editing your theme/style for the site.

.cs-online-players-avatar {
    height: 48px;
    width: 48px
  }

[cs_online_count]

Displays the total number of players currently online. There are no options available.

[cs_achievements]

Displays the achievement list for the currently logged in user. If no user is logged it will display an error message (“User not logged in” or similar). There are no options available.

[cs_tournament_winnings]

Displays the sum of all tournament winnings for your operator for the current month. The count will reset when a now month starts.

Attribute Description Default Value
max_display_items Currency XCC

[cs_leaderboard]

Displays a leaderboard.

Attribute Description Default Value
max_display_items max_display_items 10
max_display_items leaderboard_id top_balance
max_display_items global_leaderboard false