ArtofShadows.com see more from the shoots! NSFW

Plugin – WordPress Chess.com Ratings

Version 1.0

Download this small zip file, in WordPress Admin go to ‘Plugins > Add New” then search for this .zip file you just downloaded, select it and upload. After it is added make sure to activate the plugin., then you can now use the shortcode like shown below on pages/post etc. using a shortcode block or just put shortcode in a paragraph. You must have a Chess.com username and rated games played for this to work. The ratings are live from the server.

This code can be improved to save the data for a few minutes so not to make multiple requests like the examples on this page do. I can add more parameters or options to show wins losses draws etc. It’s possible to use other formats, but I don’t have every game type played on my account that I could see.

My current chess rapid rating is: [chess_ratings username="my_username" format="chess_rapid"]
Formats: chess_daily, chess_rapid, tactics, chess960_daily, chess_blitz, puzzle_rush, bullet

I made this real quick and its just a super simple Chess.com based shortcode to show ratings in WordPress based websites. Example outputs below, note the shortcode will just show a rating, error msg, or NA.

Forgot to enter username: Invalid Username

My current bullet rating is (I don’t have): NA

My best survival puzzle rush is: NA

My best tactics/puzzle rating is: NA

My current chess blitz rating is: NA

My current chess daily rating is: NA

My current chess rapid rating is: NA

v1.0

Leave a Comment