Select one or more tags, then press “Search Plugins”

Find Plugin with any / all of the selected criteria
Search Plugin

Swissunihockey Web Components Wordpress Plugin - Rating, Reviews, Demo & Download

Swissunihockey Web Components Preview Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Swissunihockey Web Components allows floorball clubs to integrate game schedules, results, rankings and other information into their WordPress websites. Data is retrieved from external services provided by swiss unihockey when a page is loaded.

The required JavaScript and CSS files are included in the plugin. No manual file uploads or manual integration of script tags are required.

Features

  • League games and rankings
  • Team games and club games
  • Game schedules grouped by club teams
  • Mobiliar top scorers
  • Team overviews and team details
  • Player lists, team statistics and spectator statistics
  • Automatic default season selection with a season change in July
  • Automatic league assignment based on a team ID for supported components

Required IDs

Club IDs (club-id), team IDs (team-id), league IDs (league), game class IDs (game-class) and group names (group) can be found using the official ID finder.

Using Shortcodes

Add a Shortcode block in the WordPress editor and use one of the following examples. Replace the example IDs with the IDs of your club or team.

  1. League games (uniho-league-games)

    [swissunihockey component=”uniho-league-games” team-id=”429494″ season=”2025″]

Alternatively, specify the league, game class and group:

[swissunihockey component="uniho-league-games" league="3" game-class="21" group="Gruppe 1" season="2025"]

Attributes: team-id, game-class, league, season, group.

  1. Team games by club (uniho-club-team-games)

    [swissunihockey component=”uniho-club-team-games” club-id=”372″ season=”2025″ page-size=”6″]

Attributes: club-id, season, page-size.

  1. Games of an individual team (uniho-team-games)

    [swissunihockey component=”uniho-team-games” team-id=”429626″ season=”2025″ page-size=”5″]

Attributes: team-id, season, page-size.

  1. Club games (uniho-club-games)

Displays the games of a club in a weekly overview.

[swissunihockey component="uniho-club-games" club-id="467" season="2025"]

Attributes: club-id, season.

  1. Rankings (uniho-ranking)

    [swissunihockey component=”uniho-ranking” team-id=”429494″ season=”2025″]

Alternatively:

[swissunihockey component="uniho-ranking" league="3" game-class="21" group="Gruppe 1" season="2025" view="full"]

Attributes: team-id, season, league, game-class, group, view. The default value for view is full.

  1. Mobiliar top scorers (uniho-mobiliar-topscorer)

    [swissunihockey component=”uniho-mobiliar-topscorer” club-id=”463845″ season=”2025″]

Without a club filter:

[swissunihockey component="uniho-mobiliar-topscorer" season="2025"]

Attributes: season, club-id. The additionally registered view-type attribute is not evaluated by the current React implementation. The API request uses table as its view type.

  1. Team overview (uniho-teams)

    [swissunihockey component=”uniho-teams” mode=”by_club” club-id=”467″ season=”2025″]

Attributes: team-id, mode, season, club-id, league, game-class.

  1. Team details (uniho-team)

    [swissunihockey component=”uniho-team” team-id=”429494″]

Attributes: team-id.

  1. Player list (uniho-team-players)

    [swissunihockey component=”uniho-team-players” team-id=”429494″]

Attributes: team-id.

  1. Team statistics (uniho-team-statistics)

    [swissunihockey component=”uniho-team-statistics” team-id=”429494″]

Attributes: team-id.

  1. Spectator statistics (uniho-team-visitors)

    [swissunihockey component=”uniho-team-visitors” team-id=”429494″ season=”2025″]

The team ID is used to determine the league and game class for the spectator statistics.

Attributes: team-id, season, league, game-class.

External Services

This plugin relies on external services provided by swiss unihockey to display sports data.

Requests are made directly from the visitor’s browser when an embedded component is loaded. Depending on the component, the transmitted data may include club IDs, team IDs, league IDs, game class IDs, seasons, group names and query parameters.

When an HTTP request is made, the respective server also receives the visitor’s IP address and standard browser and HTTP information as a technical requirement of the connection.

  • https://wc.swissunihockey.ch/ – Provides API access to game schedules, rankings, top scorers and team data.
  • https://myapp.swissunihockey.ch/ – Destination of links to additional sports information. A connection to this service is established when a visitor opens one of these links.

Service provider: swiss unihockey, https://www.swissunihockey.ch/.

Privacy policy: https://www.swissunihockey.ch/de/service/datenschutz

Terms of use for external services: https://www.swissunihockey.ch/de/administration/services/webmaster/

Source Code

The web components are based on React and are built using TypeScript and Vite. The compiled JavaScript and CSS files are included in the plugin.

The public source code of the included web components is available at:

https://github.com/swissunihockey/swissunihockey-webcomponents

Build Instructions

The web components can be built using Node.js and npm.

  1. Clone the web components repository.
  2. Open the React project directory.
  3. Run npm ci.
  4. Run npm run build:wordpress.
  5. Copy the generated JavaScript and CSS files from
    the dist-wordpress directory into the assets
    directory of the WordPress plugin.

The WordPress-specific build uses the React and
React DOM libraries provided by WordPress instead
of bundling separate copies of these libraries.

For standalone installations outside WordPress,
run npm run build.

Credits

Original development of the WordPress plugin: Markus Schenardi (Schenardi Consulting, Head of Club Administration).

Screenshots

  1. Add Swissunihockey Web Components to a WordPress page using shortcode blocks.

    Add Swissunihockey Web Components to a WordPress page using shortcode blocks.

  2. League standings with team logos, match statistics and points.

    League standings with team logos, match statistics and points.

  3. League fixtures and results, plus club fixtures with a team selection dropdown.

    League fixtures and results, plus club fixtures with a team selection dropdown.


Reviews & Comments