Linux 软件免费装

Live2Sport – TV Guide, Live Scores & Predictions

开发者 live2sport
更新时间 2026年11月8日 04:32
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

schedule sports live scores fixtures tv listings

下载

1.2.2

详情介绍:

Display match schedules across multiple sports, with kickoff times in each visitor's local timezone, TV channel listings, automatically updated scores and final results. Let visitors explore community predictions and score forecasts, view decimal odds or market-implied probabilities. Configure the widget through WordPress settings and add it to any page using a shortcode. The display JavaScript and image assets are included in the plugin. The schedule data is provided by the TVEvents.org service, operated by Live2Sport. Public links to TVEvents and the Live2Sport footer credit are both off by default. The site owner can enable them separately in Settings > Live2Sport Widget or for an individual shortcode. The plugin does not display bookmaker names, buttons, or links. Odds are always plain, non-clickable numbers.

安装:

  1. Upload the plugin ZIP from the WordPress Plugins screen, or upload the plugin folder to /wp-content/plugins/.
  2. Activate Live2Sport – TV Guide, Live Scores & Predictions.
  3. Open Settings > Live2Sport Widget to select your display preferences.
  4. Add [live2sport_widget] to a post, page, or shortcode-enabled widget area.
Choose a sport: [live2sport_widget sport="basketball"] Choose an optional date in YYYY-MM-DD format: [live2sport_widget sport="soccer" date="2026-10-29"] Choose decimal odds (the default): [live2sport_widget sport="soccer" odds_display="odds"] Or show normalized implied probabilities instead of decimal odds: [live2sport_widget sport="soccer" odds_display="percent"] The three positions represent home (1), draw (X), and away (2). As on sportschedule.tv, valid service-provided percentages take priority. Otherwise the plugin uses current average odds, with current market odds as a fallback, and calculates (1 / odds) / sum(1 / odds) * 100 to remove the market margin proportionally. These are market-implied values, not an independent prediction or a guarantee. Each outcome is rounded to one decimal place, so the displayed total may be 99.9% or 100.1%. For two-outcome markets, the draw position shows a dash. If both valid service percentages and complete odds are missing, the plugin shows dashes rather than inferring a probability from one outcome. Unsupported odds_display values fall back to decimal odds. Enable TVEvents links on match titles and in prediction tooltips for a single widget: [live2sport_widget sport="soccer" match_links="yes"] The match_links option accepts yes, true, on, or 1. An explicit shortcode option overrides the corresponding site setting. If the date is omitted or invalid, the widget uses its normal current-date behavior. Supported sport values: soccer, basketball, hockey, tennis, handball, baseball, volleyball, table-tennis, darts, badminton, american-football, futsal, esports, boxing, mma, snooker, cricket, rugby-union, rugby-league, floorball, water-polo, bandy, beach-soccer, australian-football, canadian-football, arena-football, and pesapallo. The optional "Powered by Live2Sport" footer linking to https://live2sport.com/ is disabled by default. Enable it in Settings or explicitly with credits="yes". Prediction tooltip icons are enabled by default when prediction data is available; disable them with predictions="no". These options are independent of match_links. Example: [live2sport_widget sport="soccer" credits="yes" predictions="yes" odds_display="percent"] Existing [tvevents_widget] shortcodes continue to work with the same settings. The recommended shortcode for new installations is [live2sport_widget].

常见问题:

Where do the flags come from?

Country flags are bundled SVG images from flag-icons (https://github.com/lipis/flag-icons), licensed under MIT. The copyright and license notice is in licenses/flag-icons-MIT.txt; the pinned source revision is documented in licenses/SOURCES.txt. Old country spellings are mapped to the same files. Unknown regions and unsupported organisations use an original neutral globe. No external image CDN is used.

Does the active theme change the widget styling?

The widget renders inside a Shadow DOM with its own styles, fonts and layout. Theme rules for tables, links and images do not change the internal alignment or hover states. The theme still determines the width available to the shortcode container.

Are external links or credits enabled by default?

No. The TVEvents match links and the Live2Sport footer credit are independent opt-in choices in Settings > Live2Sport Widget. Use match_links="yes" or credits="yes" to enable either one for a specific shortcode. Schedules, scores and prediction tooltips work with both options disabled.

Does the plugin store settings or user data?

The plugin stores the site administrator's widget preferences in a WordPress option, including the selected sport, odds display, prediction icons, match links and footer credit. Manage them under Settings > Live2Sport Widget. The plugin does not store visitor data in the WordPress database.

Does the plugin include its display code?

Yes. The JavaScript and image assets are packaged locally. Schedule and optional prediction data are still served by the TVEvents.org service.

Can I show more than one widget on a page?

Yes. Each shortcode creates its own container. Different sports, dates, and link preferences can be used on the same page.

更新日志:

1.2.2 1.2.1 1.2.0 1.1.1 1.1.0 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0