Game viewer – computer mode

With WordPressChess, you can use the

comp_toggle=1

attribute to play StockfishJS from any position.

This attribute adds the computer button too the button bar as you can see below(right button).


When you click this button, you will enter a "Play stockfish" mode from current position.

This attribute is available for all short codes which renders games and positions, i.e. [chess], [fen] and ["pgn ignore="1"]. The short code used for the board above looks like this:

[chess game="5396" tpl="5" theme="green" comp_toggle="1"]

Share This:

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *