Title: Downtack Lotteries
Author: downtackcom
Published: <strong>17.5.2026</strong>
Last modified: 17.5.2026

---

Hae lisäosia

![](https://s.w.org/plugins/geopattern-icon/downtack-lotteries.svg)

# Downtack Lotteries

 [downtackcom](https://profiles.wordpress.org/downtackcom/)

[Lataa](https://downloads.wordpress.org/plugin/downtack-lotteries.1.0.0.zip)

 * [Tiedot](https://fi.wordpress.org/plugins/downtack-lotteries/#description)
 * [Arvostelut](https://fi.wordpress.org/plugins/downtack-lotteries/#reviews)
 *  [Asennus](https://fi.wordpress.org/plugins/downtack-lotteries/#installation)
 * [Kehitys](https://fi.wordpress.org/plugins/downtack-lotteries/#developers)

 [Tuki](https://wordpress.org/support/plugin/downtack-lotteries/)

## Kuvaus

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](https://downtack.com/en/wp-terms-of-use.html).

## Kuvankaappaukset

[⌊Plugin settings page with API configuration and documentation.⌉⌊Plugin settings
page with API configuration and documentation.⌉[

Plugin settings page with API configuration and documentation.

[⌊Gutenberg block inspector controls.⌉⌊Gutenberg block inspector controls.⌉[

Gutenberg block inspector controls.

[⌊Frontend output showing lottery results by state.⌉⌊Frontend output showing lottery
results by state.⌉[

Frontend output showing lottery results by state.

## Blocks

This plugin provides 1 block.

 *   Downtack Lotteries

## Asennus

 1. Upload the `downtack-lotteries` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Go to **Settings > Downtack.com – Lotteries** to enter your API endpoint and API
    key.
 4. Click **Sync API Data** to fetch the initial dataset.
 5. Add the **US Lotteries** block via the Gutenberg editor, or the **US Lotteries 
    Widget** via **Appearance > Widgets**.

## UKK

### Where do I get an API key?

You need an account at [Downtack.com](https://downtack.com/en) to obtain an API 
endpoint and key.

### How often is the lottery data refreshed?

Data is automatically fetched from the API every 5 minutes via WP-Cron. You can 
also trigger a manual sync at any time from the plugin settings page.

### Can I customize how results are displayed?

Yes. Each block or widget instance supports a custom HTML template with data placeholders.
You can also apply custom CSS per instance.

### What placeholders are available in the custom template?

 * `{game_name}` — Name of the lottery game.
 * `{play_name}` — Type of draw/play.
 * `{draw_date}` — Date of the last draw.
 * `{numbers}` — HTML block of winning numbers.
 * `{jackpot}` — Current jackpot amount.
 * `{next_draw_jackpot}` — Estimated next jackpot.
 * `{next_draw_date}` — Date of the next draw.

Wrap content in `[if placeholder]...[/if placeholder]` to show it only when the 
value is non-empty. Wrap play rows in `[plays]...[/plays]` to iterate over multiple
draws.

## Arvostelut

There are no reviews for this plugin.

## Avustajat & Kehittäjät

“Downtack Lotteries” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet
tämän lisäosan kehittämiseen.

Avustajat

 *   [ downtackcom ](https://profiles.wordpress.org/downtackcom/)

[Käännä “Downtack Lotteries” omalle kielellesi.](https://translate.wordpress.org/projects/wp-plugins/downtack-lotteries)

### Oletko kiinnostunut kehitystyöstä?

[Browse the code](https://plugins.trac.wordpress.org/browser/downtack-lotteries/),
check out the [SVN repository](https://plugins.svn.wordpress.org/downtack-lotteries/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/downtack-lotteries/)
by [RSS](https://plugins.trac.wordpress.org/log/downtack-lotteries/?limit=100&mode=stop_on_copy&format=rss).

## Metatiedot

 *  Version **1.0.0**
 *  Last updated **5 kuukautta sitten**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **6.9.9**
 *  PHP version ** 7.2 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/downtack-lotteries/)
 * Tags
 * [block](https://fi.wordpress.org/plugins/tags/block/)[lottery](https://fi.wordpress.org/plugins/tags/lottery/)
   [usa](https://fi.wordpress.org/plugins/tags/usa/)[widget](https://fi.wordpress.org/plugins/tags/widget/)
 *  [Edistynyt näkymä](https://fi.wordpress.org/plugins/downtack-lotteries/advanced/)

## Arvosanat

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/downtack-lotteries/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/downtack-lotteries/reviews/)

## Avustajat

 *   [ downtackcom ](https://profiles.wordpress.org/downtackcom/)

## Tuki

Onko sinulla jotain sanottavaa? Tarvitsetko apua?

 [Tukifoorumi](https://wordpress.org/support/plugin/downtack-lotteries/)