Elo Rating Shortcode

描述

Add a Calculator for Elo Rating to your website with a simple shortcode.

Features:

  • Simple Shortcode for simple Elo calculations.
  • Extended Shortcode for extended Elo calculations.
  • Almost no configuration needed.
  • Simple and Lightweight.
  • Uses JavaScript for the calculations, so no page reload.

Demo

Check out the demo at my local chessclub Pegasus

Compatibility

This plugin is compatible with ClassicPress.

Contributions

This plugin is also available in Codeberg.

屏幕截图

  • An example of the main shortcode.

安装

  1. Upload the directory elo-rating-shortcode to the /wp-content/plugins/ directory or install the plugin directly with the ‘Install’ function in the ‘Plugins’ menu in WordPress.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Add a shortcode ‘[elo_rating_shortcode]’ to your page.
  4. Enjoy!

For extended Elo calculations use the ‘[elo_rating_shortcode_extended]’ shortcode.

常见问题

How can I use a different K factor?

The default K factor = 25.

You can add a parameter to the shortcode to have a custom value, like:

[elo-rating_shortcode k_factor="20"]

评价

阅读所有1条评价

贡献者及开发者

「Elo Rating Shortcode」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Elo Rating Shortcode」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Elo Rating Shortcode」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.4

  • 2024-10-13
  • Fix security issue (thanks theviper17 at patchstack).
  • K factor should always be an integer.

1.0.3

  • 2024-10-02
  • Loading plugin translations should be delayed until init action.
  • Use DIR instead of dirname(FILE).

1.0.2

  • 2021-06-01
  • Use ‘esc_html()’ for translations.
  • Some updates from wpcs.

1.0.1

  • 2021-02-23
  • Fix deprecated jQuery calls with WP 5.6 and jQuery 3.5.

1.0.0

  • 2016-05-21
  • First stable version
  • Publish the plugin