[memb_show_leaderboard]

This Applies to

Summary

This shortcode will display an affiliate leaderboard on your site. In order for this shortcode to work, you’ll need to have Affiliate Leaderboards feature enabled.

Shortcode Examples

Display a list of 10 entries from the leaderboard:

[memb_show_leaderboard id=123 limit=10]

 

Shortcode Parameters​

id:  The ID number of the affiliate leaderboard that you defined.

css_id:  The CSS ID to assign to the affiliate leaderboard that is displayed.  This makes it easy to target the CSS styling for the leaderboard.

limit:  The total number of rows to display  You can define your leaderboard profile to track any number of entries.

except:  A list of affiliate ID numbers to exclude from the leaderboard.  This parameter is useful for hiding internal affiliates or other affiliates that are not in the competition for whatever reason.

amount:   Yes/No – Whether to display the running total for each affiliate.  This amount is an estimate and should not be used for payout.  This value is only used for revenue leaderboards, and is ignored for lead capture leaderboards.

Additional Information

Here is the list of CSS class names for affiliate leaderboard list generated by [memb_show_leaderboard] shortcode.

<div class="memberium-leaderboard"> /* Element in which the whole leaderboard is created */
<div class="leaderboard-row"> /* First value from the leaderboard */
<span class="leaderboard-order">1</span>
<span class="leaderboard-name">Test 1</span>
<span class="leaderboard-value">100</span>
</div>
<div class="leaderboard-row"> /* Second value from the leaderboard */
<span class="leaderboard-order">2</span>
<span class="leaderboard-name">Test 2</span>
<span class="leaderboard-value">59</span>
</div>
</div>
  • Was this Helpful?
  • YesNo
9 ways to add more value to your membership site

[memb_show_leaderboard]

This Applies To

Book a Call

Welcome to Memberium!

We are very excited for you to be part of our family. 

We would love to answer any questions that you have!

Please choose the best time for you to get in a call with us. 

For Technical Support, you can contact us at https://memberium.com/support/ or Email us at support@memberium.com.