Downtack Lotteries
·
Fetches US Lottery data from an external API and displays it via a customizable Gutenberg block and classic widget.
Downtack Lotteries connects to a configurable API endpoint to retrieve US lottery results and jackpot data, then displays them on your site using a flexible Gutenberg block or classic widget.
Features:
- Displays lottery results organized by state or by game.
- Shows winning numbers, current jackpot, next draw jackpot, and next draw date.
- Supports filtering by specific states and/or games.
- Option to group multiple plays under a single game heading.
- Full custom HTML template with placeholders (
{game_name},{numbers},{jackpot}, etc.). - Conditional template tags:
[if placeholder]...[/if placeholder]. - Iterative template tag:
[plays]...[/plays]to loop over multiple draws. - Custom CSS per widget/block instance.
- Optional bottom HTML area per widget/block instance.
- Configurable date format, jackpot decimal places, thousands separator, and decimal separator.
- Automatic data synchronization via WP-Cron (every 5 minutes).
- Manual sync button in the plugin settings.
External services
This plugin connects to an API to obtain lottery results, it’s needed to show updated information in the included widget. The service is provided by “Downtack.com”: terms of use.