Shortcodes Reference
Display competitions, winners, and user entries anywhere on your site using standard WordPress shortcodes.
Competition Listing Shortcodes
Section titled “Competition Listing Shortcodes”[competitions]
Section titled “[competitions]”Displays a catalog grid of competitions.
- Attributes:
limit: Number of competitions to display (default:12).columns: Number of columns (e.g.,3or4).orderby:date,title,price,rand.order:ASCorDESC.category: Slug of the product category.
[featured_competitions]
Section titled “[featured_competitions]”Displays only competitions marked as featured in WooCommerce.
[recent_competitions]
Section titled “[recent_competitions]”Displays the most recently published competitions.
[ending_soon_competitions]
Section titled “[ending_soon_competitions]”Displays active competitions sorted by closing date closest to current time.
[future_competitions]
Section titled “[future_competitions]”Displays upcoming competitions whose start date is in the future.
[finished_competitions]
Section titled “[finished_competitions]”Displays archived/closed competitions.
Winner & Results Shortcodes
Section titled “Winner & Results Shortcodes”[competitions_winners]
Section titled “[competitions_winners]”Renders a grid or list of winning tickets, prizes, and winning customer names.
[competition_draw_results id="123"]
Section titled “[competition_draw_results id="123"]”Renders the complete verifiable draw results for a specific competition ID.
[all_instant_wins]
Section titled “[all_instant_wins]”Displays a live tabular breakdown of all instant win prizes, stating whether each prize is still available or has already been won.
Customer Dashboard Shortcodes
Section titled “Customer Dashboard Shortcodes”[my_competitions]
Section titled “[my_competitions]”Renders a user dashboard showing all competitions the currently logged-in customer has entered, their chosen ticket numbers, and win statuses.
[my_active_competitions]
Section titled “[my_active_competitions]”Shows only active/in-progress competitions the logged-in customer has entered.
Interactive Element Shortcodes
Section titled “Interactive Element Shortcodes”[lucky_dip_button id="123"]
Section titled “[lucky_dip_button id="123"]”Embeds a standalone Lucky Dip button for competition ID 123.
[live_draw id="123"]
Section titled “[live_draw id="123"]”Embeds the interactive live draw spinning wheel on any frontend page.