| 开发者 | xinc |
|---|---|
| 更新时间 | 2026年3月31日 03:31 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
widgets.dice.fm) and event data is fetched from Dice's API servers on behalf of your visitors.
https://widgets.dice.fm/dice-event-list-widget.js[dice_events] shortcode for classic editor users and widget areas600px, 80vh)[dice_events] in any widget area or classic editor[dice_events layout="list" theme="light" highlight_colour="#000000" font_family="Georgia" button_style="square" show_images="true" show_price="true" hide_postponed="false" hide_cancelled="false" tags="Venue Name" height="600px"]
All attributes are optional — omit any to inherit the global settings value.
The tags attribute accepts a comma-separated list: tags="The Underworld,Fabric London"
Performance
The Dice widget script (dice-event-list-widget.js) is loaded only on pages that contain the block or shortcode. It is never added to every page globally.
xinc-events-for-dice folder to /wp-content/plugins/[dice_events] shortcode to embed your listingLog in to your Dice MIO dashboard, go to Partner Tools → Widget Creator. Your 8-character alphanumeric Partner ID is shown there. You can also generate it at dice.fm/partners/widget.
Yes — use the [dice_events] shortcode in any post, page, or text widget.
Log in to your Dice MIO dashboard, go to Partner Tools → Widget Creator. Your API Key is shown there. Both the Partner ID and API Key are required for the widget to work.
Yes. Go to Settings → Dice Events → Filters and enter the venue name (e.g. "The Underworld"). You can also filter by artist, promoter, city, tags, price range, or Dice internal IDs. Multiple values can be comma-separated. The tags shortcode attribute also accepts comma-separated values for per-instance filtering.
Yes. Each block or shortcode instance gets a unique container, so you can embed multiple listings (e.g. different filtered views) on a single page.
Dice's widget script does not run inside WordPress's editor iframe. You'll see a styled placeholder instead. Use the Test Widget Preview on the Settings page to see how your events look.
No — this is an independently developed plugin that wraps Dice's official public widget. All event data is served from Dice's own infrastructure. Dice FM is a trademark of its respective owner.
Go to Settings → Dice Events and enter your Dice Partner ID. The block requires a valid Partner ID to render on the frontend.