WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Chess Tempo Viewer

Integrates the chess board of ChessTempo into WordPress. Pure implementation with most of the features of ChessTempo.

Integrate the chess board of ChessTempo for some of the options).

See ChessTempo PGN Viewer Usage for all the parameters available, this plugin only translates them to WordPress.

Use following tag to insert a chessboard:

[ctpgn parameter=value ...]
... chess games in PGN format ...
[/ctpgn]

Tag parameters:

  • pgnFile: URL to the pgn file. If you want to embed the PGN directly, embed it like the example below. (This parameter is not implemented yet)
  • pieceSet: possible are 'merida' (the default), 'leipzig', 'maya', 'condal', 'case' and 'kingdom'
  • pieceSize: The size of the pieces to use in pixels, currently supported sizes are '20', '24', '29', '35', '40' and '46'. Default size is 46
  • fen: The fen string if the game does not start from the beginning position
  • movesFormat: The style of formatting for the moves display, either "default" or "main_on_own_line" for a display which puts the main line moves on their own line with the annotations/variations indented below the main line.
  • layout: top (default), bottom, left or right. top means board is on top, moves below, bottom vice versae. left sets the board on the top left, and the moves flow on the right and below, right sets the board on the right, and moves flow on the left and below.
  • id: name of the board on the page. Only necessary, if there is more than one board on the page. The names have to be unique per page, not globally.

Example:

[ctpgn id=fen fen="r5k1/ppqb2pp/2n1pr2/3pN1QP/2pP2B1/P1P5/2P2PP1/R3R1K1 w - - 0 23"]
    23. Nxd7 {verwundert schlug Schwarz den Springer} Qxd7 24. Qxf6 {Schwarz fällt aus allen Wolken!} gxf6
    25. Bxe6+ Qxe6 26. Rxe6 {der Rest ist Sache der Technik} Kf7 27. Rd6 Rd8 28. Rxd8 Nxd8 29. f4 Ne6
    30. g3 Ng7 31. g4 f5 32. h6 Ne6 33. gxf5 Nxf4 34. Kf2 Kf6 35. Kf3 Kxf5 36. a4 Ng6 37. a5 Kg5
    38. Rb1 b6 39. Rxb6 Kxh6 40. Ra6 Kg5 41. Rxa7 h5 42. Rg7 {und Schwarz gibt auf} * [/ctpgn]
Tags: , ,

Requires: 3.0.1 or higher
Compatible up to: 3.8.3
Last Updated: 2014-4-20
Downloads: 141

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1
100,1,1 100,1,1 100,1,1 100,1,1