Title: WHA Puzzle
Author: Oleksandr Chumak
Published: <strong>2019 年 2 月 5 日</strong>
Last modified: 2026 年 8 月 27 日

---

搜索插件

![](https://ps.w.org/wha-puzzle/assets/banner-772x250.jpg?rev=2025089)

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

# WHA Puzzle

 作者：[Oleksandr Chumak](https://profiles.wordpress.org/webhack/)

[下载](https://downloads.wordpress.org/plugin/wha-puzzle.1.2.0.zip)

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

 [支持](https://wordpress.org/support/plugin/wha-puzzle/)

## 描述

Puzzle is a jigsaw game: a mosaic that has to be assembled from many fragments of
various shapes. It is one of the most affordable toys that develop logical thinking,
attention, memory and imagination.

The plugin adds a “Puzzle” post type. Each puzzle has its own image, grid size (
up to 10×10), canvas colour, ghost-image opacity and a custom congratulations message,
and is embedded anywhere with the “Puzzle” block in the block editor or the `[game-
puzzle id="N"]` shortcode.

**Features**

 * HTML5 canvas game with drag-and-drop pieces, snapping and a red hint outline.
 * Start / pause, reset, timer and a solved-puzzles counter.
 * Full-screen mode.
 * Separate images for desktop and mobile.
 * Optional front-end upload so visitors can play with their own picture.
 * Completion modal with a custom message and Facebook / Twitter / LinkedIn share
   links.
 * “Puzzle” block for the block editor with a puzzle picker and preview; existing
   shortcodes can be converted to the block.
 * Works in sub-directory installs, custom content directories and multisite.

Video: https://www.youtube.com/watch?v=Ojja8RrFU58

## 屏幕截图

[⌊Individual settings page⌉⌊Individual settings page⌉[

Individual settings page

[⌊Game with settings on a normal screen⌉⌊Game with settings on a normal screen⌉[

Game with settings on a normal screen

[⌊Game in full-screen mode⌉⌊Game in full-screen mode⌉[

Game in full-screen mode

## 区块

该插件提供了 1 个区块.

 *   Puzzle Embed a drag-and-drop jigsaw puzzle created under Puzzles.

## 安装

 1. Upload the `wha-puzzle` folder to `/wp-content/plugins/` or install it from the
    Plugins screen.
 2. Activate the plugin.
 3. Go to **Puzzles > Add New**, set a featured image and the game settings, and publish.
 4. In the block editor add the **Puzzle** block and pick the puzzle, or paste the 
    shortcode shown on the edit screen (`[game-puzzle id="N"]`) into any page or post.

## 常见问题

### Does it work with the block editor (Gutenberg)?

Yes. Add the “Puzzle” block (search for “puzzle” or “jigsaw” in the inserter) and
choose the puzzle from the dropdown. Existing `[game-puzzle]` shortcodes keep working
and a Shortcode block containing one can be transformed into the Puzzle block. Puzzles
themselves are configured on a classic settings screen under **Puzzles**.

### Can visitors use their own image?

Yes. Enable “Frontend upload” in the puzzle settings and an upload form appears 
in the game control panel.

### Can I put several puzzles on one page?

No, one puzzle per page is supported.

## 评价

![](https://secure.gravatar.com/avatar/e0598df322c05dcfcf19560ae70273e8ac8a0e77802354d3ff29464ea320ae8e?
s=60&d=retro&r=g)

### 󠀁[not working](https://wordpress.org/support/topic/not-working-4168/)󠁿

 [Просування сайтів](https://profiles.wordpress.org/bogdan2143/) 2023 年 12 月 9
日

not working

![](https://secure.gravatar.com/avatar/da51e7caa9712bef05898caa1e5f87f82fb74a42f2178c56a6d865d01e2e6ced?
s=60&d=retro&r=g)

### 󠀁[Is not mobile friend](https://wordpress.org/support/topic/is-not-mobile-friend/)󠁿

 [legatti](https://profiles.wordpress.org/legatti/) 2021 年 4 月 14 日

Very cool, but unfortunately is not responsive mobile friend.

![](https://secure.gravatar.com/avatar/b1f6985d8a89f8318120f4be5ac97a137b4e84dd71db17203bad12409c393f9a?
s=60&d=retro&r=g)

### 󠀁[Very nice and stable Plugin](https://wordpress.org/support/topic/very-nice-and-stable-plugin/)󠁿

 [georgwpfrm](https://profiles.wordpress.org/georgwpfrm/) 2020 年 12 月 20 日

Please go on developping. I found that not all text strings can be translated. Thank
you for this top online game.

![](https://secure.gravatar.com/avatar/b1ecc664978067802545c199a195ee222fb7f53eee7885c1d6a035bbce54f1ff?
s=60&d=retro&r=g)

### 󠀁[Exciting idea with still small weaknesses](https://wordpress.org/support/topic/exciting-idea-with-still-small-weaknesses/)󠁿

 [meingarten](https://profiles.wordpress.org/meingarten/) 2020 年 11 月 8 日

Exciting idea with still small weaknesses, but these should not be a problem for
the developer. Image selection and speed, number of parts and opacity work perfectly.
1. not all texts can be translated 2. the full screen view cannot be reset, no reset
button 3. for a time challenge the previous best time and a nickname entry is missing.
Do not stop developing. There is nothing comparable. Good luck, Markus

![](https://secure.gravatar.com/avatar/f1aefd2fdabe12ebf85f720a14f41820b8e96b08872449b1fa7631c90437a96e?
s=60&d=retro&r=g)

### 󠀁[Images don’t Show!!!](https://wordpress.org/support/topic/images-dont-show-13/)󠁿

 [prowebdevelopers](https://profiles.wordpress.org/prowebdevelopers/) 2020 年 8 
月 13 日

Please can you sort out the bug with the code, as the images don't show. It displays
a blank screen with the buttons at the bottom.

![](https://secure.gravatar.com/avatar/5f439f4cc12da41b87fe8cd0423b5b30366f0a5b1895c2e6775196ce87ff018d?
s=60&d=retro&r=g)

### 󠀁[Very bad](https://wordpress.org/support/topic/very-bad-97/)󠁿

 [ramikanawati](https://profiles.wordpress.org/ramikanawati/) 2020 年 5 月 26 日
4 回复

This is very large of bug it is killing my website be a ware from it

 [ 阅读所有8条评价 ](https://wordpress.org/support/plugin/wha-puzzle/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Oleksandr Chumak ](https://profiles.wordpress.org/webhack/)
 *   [ Web Help Agency ](https://profiles.wordpress.org/webhelpagency/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.0

 * New “Puzzle” block for the block editor: pick a puzzle from a dropdown, see a
   preview in the editor, convert existing shortcodes to the block. The block renders
   through the same code as the shortcode.
 * Fixed: a puzzle opened from a URL with any query string (e.g. `?page_id=`, `?
   utm_source=`) got a NaN grid size and no pieces.
 * Requires WordPress 5.5 or newer.

#### 1.1.0

 * Compatibility with PHP 8.x and WordPress 7.1 (no more suppressed notices, undefined-
   index warnings or removed jQuery APIs).
 * Admin assets (jscolor, slider) load only on the Puzzle edit screen and use the
   jQuery UI slider bundled with WordPress instead of a second copy of jQuery UI.
 * Front-end assets load only on pages that contain a puzzle; wp_enqueue_media()
   is no longer loaded on every page.
 * Plugin, uploads and admin-ajax URLs are no longer hard-coded – works in sub-directory
   installs, custom content dirs and multisite.
 * Front-end image upload is protected by a nonce and only accepted for puzzles 
   that allow it; WebP images are accepted.
 * Missing featured image shows an admin notice instead of aborting the save.
 * Uninstall uses the WordPress API (works with any table prefix and on multisite).
 * Text domain unified to “wha-puzzle”.

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**3 月前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 5.5 或更高版本 **
 *  已测试的最高版本为 **7.1.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wha-puzzle/)
 * 标签
 * [canvas](https://cn.wordpress.org/plugins/tags/canvas/)[game](https://cn.wordpress.org/plugins/tags/game/)
   [jigsaw](https://cn.wordpress.org/plugins/tags/jigsaw/)[mind](https://cn.wordpress.org/plugins/tags/mind/)
   [puzzle](https://cn.wordpress.org/plugins/tags/puzzle/)
 *  [高级视图](https://cn.wordpress.org/plugins/wha-puzzle/advanced/)

## 评级

 3.4 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/wha-puzzle/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wha-puzzle/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/wha-puzzle/reviews/?filter=3)
 *  [  1 条 2 星评价     ](https://wordpress.org/support/plugin/wha-puzzle/reviews/?filter=2)
 *  [  2 条 1 星评价     ](https://wordpress.org/support/plugin/wha-puzzle/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/wha-puzzle/reviews/#new-post)

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

## 贡献者

 *   [ Oleksandr Chumak ](https://profiles.wordpress.org/webhack/)
 *   [ Web Help Agency ](https://profiles.wordpress.org/webhelpagency/)

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://webhelpagency.com/)