Elo Rating Shortcode Plugin
Add a Calculator for Elo Rating to your website with a simple 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.
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.
Screenshots
An example of the main 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"]
Changelog
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