Title: Chessdiag
Author: wouf
Published: <strong>2026 年 5 月 20 日</strong>
Last modified: 2026 年 6 月 6 日

---

搜索插件

![](https://ps.w.org/chessdiag/assets/banner-772x250.png?rev=3539760)

![](https://ps.w.org/chessdiag/assets/icon-256x256.png?rev=3539760)

# Chessdiag

 作者：[wouf](https://profiles.wordpress.org/wouf/)

[下载](https://downloads.wordpress.org/plugin/chessdiag.4.1.zip)

 * [详情](https://cn.wordpress.org/plugins/chessdiag/#description)
 * [评价](https://cn.wordpress.org/plugins/chessdiag/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/chessdiag/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/chessdiag/#developers)

 [支持](https://wordpress.org/support/plugin/chessdiag/)

## 描述

Chessdiag allows you to display clean and customizable chess diagrams directly in
your WordPress content.

Use the shortcode with a Chessdiag position code between the opening and closing
tags.

Example:

[diag]mrmnmbmqmkmbmnmr8mp32s8prnbqkbnr[/diag]

Features:

 * Display chess diagrams from Chessdiag position codes
 * Custom board size
 * Highlight squares
 * Draw arrows
 * Optional coordinates
 * Clickable board (optional)

The diagrams are generated via an external service.

### External Services

This plugin loads images from:

https://chessdiag.org/

When a diagram is displayed, the visitor’s browser requests an image from this service.

The request includes the encoded chess position (FEN) and display parameters.

No personal data is intentionally collected by the plugin itself. However, standard
web requests may include technical information such as IP address or browser details,
depending on the server configuration.

## 屏幕截图

[⌊A chess diagram displayed in a WordPress post — the image is served by chessdiag.
org via the [diag] shortcode.⌉⌊A chess diagram displayed in a WordPress post — the
image is served by chessdiag.org via the [diag] shortcode.⌉[

A chess diagram displayed in a WordPress post — the image is served by chessdiag.
org via the [diag] shortcode.

[⌊A chess diagram rendered inside a WordPress comment using the same [diag] shortcode.⌉⌊
A chess diagram rendered inside a WordPress comment using the same [diag] shortcode
.⌉[

A chess diagram rendered inside a WordPress comment using the same [diag] shortcode.

[⌊The chessdiag.org editor showing how to export a position code ready to paste 
into WordPress.⌉⌊The chessdiag.org editor showing how to export a position code 
ready to paste into WordPress.⌉[

The chessdiag.org editor showing how to export a position code ready to paste into
WordPress.

## 安装

 1. Upload the plugin zip file via the WordPress admin panel
 2. Activate the plugin
 3. Use the shortcode in your content

## 常见问题

### How do I display a diagram?

Use the shortcode:

[diag]your-chessdiag-code[/diag]

### Can I customize the size?

Yes:

[diag size=”400″]your-chessdiag-code[/diag]

### Can I add arrows or highlights?

Yes:

[diag arrows=”e2e4g” squares=”e4y”]your-chessdiag-code[/diag]

## 评价

此插件暂无评价。

## 贡献者及开发者

「Chessdiag」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ wouf ](https://profiles.wordpress.org/wouf/)

「Chessdiag」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/chessdiag/contributors)
为本插件所做的贡献。

[帮助将「Chessdiag」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/chessdiag)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/chessdiag/)，查看[SVN仓库](https://plugins.svn.wordpress.org/chessdiag/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/chessdiag/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/chessdiag/)。

## 更新日志

#### 4.1

 * Added `flip` attribute to display the board from Black’s perspective
 * Added `nocoords` attribute to hide coordinates and border
 * Added `arrows` attribute to draw colored arrows on the board
 * Added `squares` attribute to highlight specific squares
 * Added `cl` and `cd` attributes for custom light/dark square colors
 * Added `size` attribute to control diagram width in pixels
 * Added `[diag]all[/diag]` shortcut for the standard starting position
 * Added shortcode support inside comments
 * Added `[diag?]...[/diag?]` escape tag to display the shortcode as literal text

#### 1.0

 * Initial release

## 额外信息

 *  版本 **4.1**
 *  最后更新：**6 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  语言
 * [English (US)](https://wordpress.org/plugins/chessdiag/) 和 [French (France)](https://fr.wordpress.org/plugins/chessdiag/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/chessdiag)
 * 标签
 * [chess](https://cn.wordpress.org/plugins/tags/chess/)[chessboard](https://cn.wordpress.org/plugins/tags/chessboard/)
   [fen](https://cn.wordpress.org/plugins/tags/fen/)[pgn](https://cn.wordpress.org/plugins/tags/pgn/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
 *  [高级视图](https://cn.wordpress.org/plugins/chessdiag/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/chessdiag/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/chessdiag/reviews/)

## 贡献者

 *   [ wouf ](https://profiles.wordpress.org/wouf/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/chessdiag/)