وضاحت
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.](https://ps.w.org/chessdiag/assets/screenshot-1.png?rev=3539760)
![A chess diagram rendered inside a WordPress comment using the same [diag] shortcode.](https://ps.w.org/chessdiag/assets/screenshot-2.png?rev=3539760)

انسٽاليشن
- Upload the plugin zip file via the WordPress admin panel
- Activate the plugin
- Use the shortcode in your content
FAQ
-
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” 1 لوڪل ۾ ترجمو ڪيو ويو آهي. ترجمي ڪندڙن جي مهرباني سندن تعاون لاءِ.
ترجمو ڪريو “Chessdiag” توهان جي ٻولي ۾.
ڊولپمينٽ ۾ دلچسپي؟
ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.
لاگ تبدیل ڪريو
4.1
- Added
flipattribute to display the board from Black’s perspective - Added
nocoordsattribute to hide coordinates and border - Added
arrowsattribute to draw colored arrows on the board - Added
squaresattribute to highlight specific squares - Added
clandcdattributes for custom light/dark square colors - Added
sizeattribute 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
