FREE block. Displays the top three fundraisers for a campaign, ranked by amount raised, with medal icons.

Why use this
A leaderboard encourages friendly competition among fundraisers. Showing the top three with medal icons gives recognition to top contributors and motivates others to raise more.
What it does
The block queries get_fund_action posts where _get_fund_campaign_id equals the current post’s ID, ordered by _get_fund_raised_amount descending, limited to 3. It renders medal emoji icons (gold, silver, bronze), the fundraiser’s name as a link, and optionally the raised amount. Currency is hardcoded to €.
The result is always limited to 3. There is no option for more entries. This block is for single action (campaign) pages and does not support Query Loop context.
How to use it
- Add the Top Members block to a campaign page template.
- Configure the title, medal colors, and font options in the inspector.
- Toggle the raised amount display and arrow link on or off.
Settings and options
| Option | Type | Default | Description |
|---|---|---|---|
| Show title | boolean | true | Display the block heading |
| Custom title | string | Top Fundraisers | Block heading text |
| Show amount | boolean | true | Show the raised amount per member |
| Show medal icons | boolean | true | Show gold/silver/bronze emoji |
| Show link | boolean | true | Arrow link to fundraiser page |
| Font size | number | 16 | Name and amount font size |
| Font weight | string | 600 | Name and amount font weight |
| Gold color | string | #FFD700 | Gold medal icon color |
| Silver color | string | #C0C0C0 | Silver medal icon color |
| Bronze color | string | #CD7F32 | Bronze medal icon color |
| Title font size | number | 24 | Heading font size |
| Title font weight | string | 700 | Heading font weight |
| Title color | string | #1d2327 | Heading color |
| Show border bottom | boolean | false | Divider line below each row |
| Border bottom color | string | #e0e0e0 | Divider color |
| Border bottom width | number | 1 | Divider thickness in pixels |
What you can and cannot do
- The list is always exactly 3 entries. You cannot show more.
- Currency is hardcoded to
€. - This block ranks by
_get_fund_raised_amountmeta on actions linked by_get_fund_campaign_id. - For a global team leaderboard (not per-campaign), see the Top Teams block, which queries all teams globally.
- The block does not support Query Loop context.
Troubleshooting
Block shows no entries: The campaign has fewer than one fundraiser who has joined via the campaign flow. Check that fundraisers used the wizard with this campaign pre-selected.