i4w_leaderboard
This shortcode displays the specified affiliate leaderboard.
The purpose, definition, and use of affiliate leaderboards is explained in detail here: Affiliate Leaderboards
[ELSE_leaderboard] conditional branching is supported.
Shortcode nesting is NOT supported.
Parameters
Section titled “Parameters”| Parameter | Description | Default | Required |
|---|---|---|---|
| id | The id of the affiliate leaderboard to be displayed. | none | Yes |
Example
Section titled “Example”[i4w_leaderboard id=9291]With ELSE clause:
[i4w_leaderboard id=9291] Leaderboard content here[ELSE_leaderboard] Leaderboard not available[/i4w_leaderboard]Formatting
Section titled “Formatting”The leaderboard can be styled using CSS with the following classes:
mbr-leaderboard- Main containermbr-leaderboard-row- Each rowmbr-leaderboard-head- Header rowmbr-leaderboard-pos- Position columnmbr-leaderboard-name- Name columnmbr-leaderboard-val- Value column