This shortcode displays the specified affiliate leaderboard.

The purpose, definition, and use of affiliate leaderboards is explained in detail here:

Affiliate Leaderboards


idThe id of the affiliate leaderboard to be displayed.
Default: none.
Required: yes.

To ensure compatibility with the various page builders we recommend that no quote delimiters are used to specify the id parameter.

Quotes are not needed for this shortcode as there can never be any spaces in the id.


This shortcode is evaluated for any type of visitor.

Please be aware that if the affiliate leaderboard specified by the id is not active or empty this shortcode will not be evaluated and will not display/include any content.

Also if the affiliate leaderboard is not available from the cache nothing will be shown. In this case you should force a recalculation of the affiliate leaderboards please refer to Calculating Affiliate Leaderboards.

Conditional Branching:

[ELSE_leaderboard] conditional branching is supported.


Shortcode nesting is not supported.


The leaderboard can be styled using CSS using the classes shown below:

<div class="mbr-leaderboard">
<div class="mbr-leaderboard-row mbr-leaderboard-head">
<span class="mbr-leaderboard-pos">Pos</span>
<span class="mbr-leaderboard-name">Affiliate Partner</span>
<span class="mbr-leaderboard-val">Sales</span>
<div class="mbr-leaderboard-row">
<span class="mbr-leaderboard-pos">#1</span>
<span class="mbr-leaderboard-name">ResponseFlow</span>
<span class="mbr-leaderboard-val">543</span>
<div class="mbr-leaderboard-row">
<span class="mbr-leaderboard-pos">#2</span>
<span class="mbr-leaderboard-name">Keen</span>
<span class="mbr-leaderboard-val">2</span>
<!-- /wp:code -->

<!-- wp:paragraph -->
<p>The default <strong>leaderboard</strong> CSS also uses the following CSS method to apply a different background to each odd and even row:</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><a href="https://www.w3schools.com/cssref/sel_nth-child.asp">https://www.w3schools.com/cssref/sel_nth-child.asp</a></p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<!-- /wp:heading -->

<!-- wp:list {"ordered":true} -->
<ol><li>Display the <strong>affiliate leaderboard</strong> with id 9291:<pre><code>[i4w_leaderboard id=9291]


There is no API function equivalent for this shortcode.