开发者 | hockeydata |
---|---|
更新时间 | 2022年3月19日 00:03 |
捐献地址: | 去捐款 |
PHP版本: | 5.2.4 及以上 |
WordPress版本: | 5.9 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[hd-los-game-full-report] = hockeydata.los.Game.FullReport [hd-los-game-slider] = hockeydata.los.GameSlider [hd-los-game-ticker] = hockeydata.los.GameTicker [hd-los-knockout-stage] = hockeydata.los.KnockoutStage [hd-los-knockout-stage-compact] = hockeydata.los.KnockoutStage.Compact [hd-los-leaders] = hockeydata.los.Leaders [hd-los-live-games] = hockeydata.los.LiveGames [hd-los-player-full-page] = hockeydata.los.Player.FullPage [hd-los-players] = hockeydata.los.Players [hd-los-schedule] = hockeydata.los.Schedule [hd-los-standings] = hockeydata.los.Standings [hd-los-team-full-page] = hockeydata.los.Team.FullPage [hd-los-team-stats] = hockeydata.los.TeamStats
All widgets options must be provided in lower case with hyphens, not as defined in the JavaScript API in CamelCase format. E.g. division-id
instead of divisionId
. More examples:
additional-columns › additionalColumns column-set › columnSet show-legend › showLegend
Shortcode example:
[hd-los-schedule division-id=ebel-gd]
Upgrade Notices
If you upgrade from a version lower than 1.2.0 please
hd-
and hd_
to the shortcodes and widget id's, respectively. Unfortunately, all of your widgets you implemented prior to version 1.2.0 won't work anymore. But there's a silver lining:
You can use a plugin to replace all old shortcodes and widgets at once. Here is an example of how to do this with "Better Search Replace":
/wp-content/plugins/hockeydata-los
directory, or install the plugin through the WordPress plugins screen directly.You can either use shortcodes or a page builder plugin like Page Builder by SiteOrigin which allows you to add WordPress widgets to your posts and pages.