Linux 软件免费装
Banner图

Badhub Widget

开发者 badhub
更新时间 2026年5月6日 23:52
PHP版本: 8.1 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

table schedule sport club badminton

下载

0.2.0 0.1.0

详情介绍:

Badhub Widget lets badminton clubs embed their current league table and match schedule on their own website. No technical knowledge required. Features How it works
  1. Install and activate the plugin
  2. Go to Settings → Badhub Widget
  3. Enter your free API key (get one at plugin.badhub.de)
  4. Select your federation and club
  5. Insert [badhub_widget] into any page or post
Shortcode options [badhub_widget] — league table (default) [badhub_widget type="matches"] — match schedule [badhub_widget type="combined"] — table + schedule combined [badhub_widget type="table" pool_id="12345"] — specific league pool [badhub_widget theme="dark"] — dark mode [badhub_widget highlight="0"] — disable own-club highlight [badhub_widget promotion="0"] — hide promotion/relegation markers [badhub_widget logos="0"] — hide club logos Federation league system shortcode ([badhub_liga]) Federations with an active Federation-tier license can embed the complete league system — all divisions, all tables, full match schedule with built-in 3-level navigation — using a single shortcode: [badhub_liga federation="bvbb"] — full league widget for the BVBB federation [badhub_liga federation="bvbb" ga="G-XXXXXXXX"] — with Google Analytics 4 tracking [badhub_liga min_height="700"] — set initial iframe height (default 500) The federation slug is required. If your Plugin Settings already specify a federation, the attribute can be omitted. Only federations with a valid Federation-tier license on badhub.de are served — other slugs return 403. External service This plugin connects to badhub.de to retrieve league tables and match data, and to plugin.badhub.de to render the widget iframe. Data is fetched when a page containing the widget shortcode is loaded by a visitor. No personal visitor data is transmitted to badhub.de.

安装:

  1. Upload the plugin files to /wp-content/plugins/badhub-widget/, or install via Plugins → Add New and search for "Badhub Widget"
  2. Activate the plugin
  3. Go to Settings → Badhub Widget
  4. Enter your API key (free at plugin.badhub.de)
  5. Select your federation and club
  6. Add [badhub_widget] to any page or post

屏幕截图:

  • Match schedule with clickable match reports
  • Plugin settings page
  • Widget Generator on plugin.badhub.de

常见问题:

Where do I get an API key?

Visit plugin.badhub.de and register for free. You will receive your API key by email immediately.

Is the plugin free?

Yes. The free tier includes the full league table with the "Powered by badhub.de" badge. A Pro upgrade (no badge, priority support) is available for a small annual fee.

Which federations are supported?

Currently supported: BVBB, BVRP, HBV, BWBV, BBV, NBV. More federations are being added.

The widget shows nothing / an error — what do I do?

  • Make sure your API key is entered correctly under Settings → Badhub Widget
  • Check that the API key is registered for your website's domain
  • Make sure you have selected your federation and club

Can I use the widget without WordPress?

Yes. Visit plugin.badhub.de to generate a script tag embed code that works on any website.

Can I display multiple widgets on one page?

Yes. Each [badhub_widget] shortcode generates an independent iframe. You can use different pool_id or type attributes for each.

更新日志:

0.2.0 0.1.0