Description
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.
Screenshots
Installation
- 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. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Add a shortcode ‘[elo_rating_shortcode]’ to your page.
- Enjoy!
For extended Elo calculations use the ‘[elo_rating_shortcode_extended]’ shortcode.
FAQ
-
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"]
Contributors & Developers
“Elo Rating Shortcode” is open source software. The following people have contributed to this plugin.
Contributors“Elo Rating Shortcode” has been translated into 2 locales. Thank you to the translators for their contributions.
Translate “Elo Rating Shortcode” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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