Title: Chessdiag
Author: wouf
Published: <strong>20 maj 2026</strong>
Last modified: 6 juni 2026

---

Sök tillägg

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

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

# Chessdiag

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

[Ladda ner](https://downloads.wordpress.org/plugin/chessdiag.4.1.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/chessdiag/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/chessdiag/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/chessdiag/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/chessdiag/#developers)

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

## Beskrivning

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.

## Skärmdumpar

[⌊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.

## Installation

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

## Vanliga frågor

### 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]

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Chessdiag” är programvara med öppen källkod. Följande personer har bidragit till
detta tillägg.

Bidragande personer

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

”Chessdiag” har översatts till 1 språk. Tack till [översättarna](https://translate.wordpress.org/projects/wp-plugins/chessdiag/contributors)
för deras bidrag.

[Översätt ”Chessdiag” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/chessdiag)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/chessdiag/), kika 
på [SVN-filförvaret](https://plugins.svn.wordpress.org/chessdiag/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/chessdiag/) via [RSS](https://plugins.trac.wordpress.org/log/chessdiag/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 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

## Meta

 *  Version **4.1**
 *  Senast uppdaterat **4 veckor sedan**
 *  Aktiva installationer **Färre än 10**
 *  WordPress-version ** 5.0 eller senare **
 *  Testat upp till **6.9.4**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/chessdiag/) och [French (France)](https://fr.wordpress.org/plugins/chessdiag/).
 *  [Översätt till ditt språk](https://translate.wordpress.org/projects/wp-plugins/chessdiag)
 * Etiketter
 * [chess](https://sv.wordpress.org/plugins/tags/chess/)[chessboard](https://sv.wordpress.org/plugins/tags/chessboard/)
   [fen](https://sv.wordpress.org/plugins/tags/fen/)[pgn](https://sv.wordpress.org/plugins/tags/pgn/)
   [shortcode](https://sv.wordpress.org/plugins/tags/shortcode/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/chessdiag/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

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

[Se alla recensioner](https://wordpress.org/support/plugin/chessdiag/reviews/)

## Bidragande personer

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

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/chessdiag/)