Display Standings tables
In addition to displaying chess boards, puzzles etc, you can also use WordPressChess to show leaderboards/standings for a tournament.
The leaderboards are automatically calculated by WordPressChess from the games in your database. To render a leaderboard, you use a short code like this:
[chess leaderboard="1" tpl="2" db="5"]
- leaderboard: Always set to 1 to tell WordPressChess that you want to display standings
- db: Show standings for the database with this id. In order for standings to work properly, it's important that names in the games of the database are spelled the same for all games, Example: "Anna Dahl" is different from "Dahl, Anna". If you import a pgn, the names are inside the white and black properties.
- tpl: Set tpl to 1 to render a dynamic standings grid. The grid is sortable. Use tpl="2" to render a standings table. The table is rendered as a standard HTML table using your sites layout.
Here's an example of a standings table for the Tata Steel Chess 2017 Chess tournament:
[chess leaderboard="1" tpl="1" db="5"]
And here's the same rendered as a HTML table:
[chess leaderboard="1" tpl="2" db="5"]
Player | w | d | l | score |
---|---|---|---|---|
So, Wesley | 5 | 8 | 0 | 9 |
Carlsen, Magnus | 4 | 8 | 1 | 8 |
Aronian, Levon | 4 | 7 | 2 | 7.5 |
Adhiban, Baskaran | 4 | 7 | 2 | 7.5 |
Wei, Yi | 4 | 7 | 2 | 7.5 |
Karjakin, Sergey | 3 | 8 | 2 | 7 |
Eljanov, Pavel | 3 | 8 | 2 | 7 |
Giri, Anish | 1 | 11 | 1 | 6.5 |
Harikrishna, Pentala | 1 | 10 | 2 | 6 |
Wojtaszek, Radoslaw | 2 | 8 | 3 | 6 |
Andreikin, Dmitri | 1 | 9 | 2 | 5.5 |
Nepomniachtchi, Ian | 0 | 10 | 3 | 5 |
Rapport, Richard | 1 | 6 | 5 | 4 |
Van Wely, Loek | 1 | 5 | 7 | 3.5 |
can we conduct online tournaments using wordpresschess where users can challenge each other and play using virtual chessboard?
Naveen,
This feature is not yet supported. I have most of the client side code available for this(drag and drop, clocks, elo calculation etc) ready, but it requires a bigger job on the server side. I hope to have this as a feature at some later point