Description
This shortcode allows you to show how many points users can win for the nominated lottery.
Shortcode Attributes
Attribute | Type | Required | Default | Description |
---|---|---|---|---|
id |
int | Yes | - | The lottery ID to show. |
CSS Styling
// Results table table#mycred-lottery-winnings { } // Columns table#mycred-lottery-winnings th.correct-picks { } table#mycred-lottery-winnings th.prize { } table#mycred-lottery-winnings th.no-winners { }
Example
Example 1: Default usage.
[mycred_lottery_winnings id=123]