Linux 软件免费装

Xinc Events for Dice

开发者 xinc
更新时间 2026年3月31日 03:31
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

events event widget tickets dice dice.fm

下载

1.0.2

详情介绍:

Xinc Events for Dice is the simplest way to embed your Dice.fm event listing on any WordPress site. If you're a venue, promoter, or artist with a Dice.fm partner account, this plugin wraps Dice's official JS widget in a proper WordPress block and shortcode so you never have to touch raw code again. Note: This is an independent, community-developed plugin — it is not developed by, endorsed by, or affiliated with Dice FM or any of its parent companies. "Dice" and "Dice.fm" are trademarks of their respective owners. Third-party service This plugin relies on the Dice.fm event listing widget, a JavaScript-based service hosted by Dice FM. When the widget is displayed on your site, a script is loaded from Dice's CDN (widgets.dice.fm) and event data is fetched from Dice's API servers on behalf of your visitors. No data is sent from your WordPress site to any third party — the widget runs entirely in the visitor's browser. What it does Features How to use
  1. Install and activate the plugin
  2. Go to Settings → Dice Events and enter your Partner ID and API Key
  3. Optionally add a venue or other filter to narrow your event feed
  4. Save and check the live preview at the bottom of the page
  5. Add the Dice Events block anywhere in the Gutenberg editor, or use [dice_events] in any widget area or classic editor
Shortcode reference [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.

安装:

  1. Upload the xinc-events-for-dice folder to /wp-content/plugins/
  2. Activate Xinc Events for Dice through the Plugins screen in WordPress
  3. Go to Settings → Dice Events and enter your Partner ID and API Key
  4. Add any filters (e.g. venue name) to narrow your event feed
  5. Use the Gutenberg block or [dice_events] shortcode to embed your listing

屏幕截图:

  • Settings page — Configuration and Formatting sections (Partner ID, API Key, display mode, event titles, toggles, number of events)
  • Settings page — Styling and Filters sections (layout, button style, colour scheme, highlight colour, font family, venue/artist/city filters)
  • Gallery layout on the frontend showing live event listings with images, prices, and buy buttons
  • Live Test Widget Preview on the settings page — see exactly how your events will look before embedding

升级注意事项:

1.0.2 Added venue/artist/promoter/city filters, fixed block alignment, and matched Dice embed output. 1.0.1 Added API Key support and full Dice widget configuration options. 1.0.0 First release.

常见问题:

Where do I find my Partner ID?

Log 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.

Does this work with the Classic Editor?

Yes — use the [dice_events] shortcode in any post, page, or text widget.

Where do I find my API Key?

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.

Can I show events from a specific venue only?

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.

Can I have multiple widgets on the same page?

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.

Why does the block show a placeholder in the editor?

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.

Is this an official Dice.fm plugin?

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.

I see "Please set your Partner ID" in the editor — why?

Go to Settings → Dice Events and enter your Dice Partner ID. The block requires a valid Partner ID to render on the frontend.

更新日志:

1.0.2 1.0.1 1.0.0