Title: QR Block
Author: retrofox
Published: <strong>2021 年 7 月 29 日</strong>
Last modified: 2023 年 1 月 23 日

---

搜索插件

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

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# QR Block

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

[下载](https://downloads.wordpress.org/plugin/qr-block.0.0.13.zip)

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

 [支持](https://wordpress.org/support/plugin/qr-block/)

## 描述

The QR Block plugin provides a few blocks:

 * QR: A block that generates the QR code based on its content. Generic purposes.
 * Wi-Fi Network Connection: Connect to a Wi-Fi Network via a QR Code.
 * QR Post: Share your post with a QR Code.

Also, it renders the QR code of the current post in the Post sidebar. A simple but
functional way o load the post on mobile, for instance.

### Source & Support

You can follow development, file an issue, suggest features, and view the source
at the Github [WPHackers/qr-block](https://github.com/WPHackers/qr-block) repo.

### Credits

This block is powered by the brilliant [qrcode.react](https://github.com/zpao/qrcode.react)
library.

## 屏幕截图

[⌊QR Block - General view⌉⌊QR Block - General view⌉[

QR Block – General view

[⌊QR Block - Error correction⌉⌊QR Block - Error correction⌉[

QR Block – Error correction

[⌊QR Block - Create & Upload⌉⌊QR Block - Create & Upload⌉[

QR Block – Create & Upload

[⌊QR Block - Transform to Image⌉⌊QR Block - Transform to Image⌉[

QR Block – Transform to Image

[⌊QR Block - WiFi Network variation⌉⌊QR Block - WiFi Network variation⌉[

QR Block – WiFi Network variation

[⌊QR Block - QR Post variation⌉⌊QR Block - QR Post variation⌉[

QR Block – QR Post variation

[⌊QR Post plugin (Post sidebar)⌉⌊QR Post plugin (Post sidebar)⌉[

QR Post plugin (Post sidebar)

## 区块

该插件提供了 1 个区块.

 *   QR Create a QR code.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/qr-block` directory, or install
    the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## 评价

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

### 󠀁[Cool block](https://wordpress.org/support/topic/cool-block/)󠁿

 [allilevine](https://profiles.wordpress.org/firewatch/) 2021 年 8 月 16 日

Easy to add and create a custom QR block!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/qr-block/reviews/)

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 0.0.1

 * Initial Release.

#### 0.0.2

 * Refactoring code.
 * remove server-side qr library.

#### 0.0.3

 * Fix issues – Enhancementes.

#### 0.0.4

 * Fix issues / Enhancementes / Tidy code.

#### 0.0.5

 * Fix issue when installing plugin from block editor, on the fly. Need to set default
   attributes at block edit function level.

#### 0.0.6

 * Fix corrupted compiled files.
 * Add “Upload to Media Library” block option.

#### 0.0.7

 * Tranform to core/image block.
 * Tweak setting code popover.
 * Add some external link help for Error Correction Level.
 * Add image size support when uploading.
 * Add WiFI Network block variation.
 * Refactoring setting size and error Correction
 * Improve setting error correction

#### 0.0.8

 * Fix setting block title bug

#### 0.0.9

 * Fix setting block title bug
 * Fix initial size value when installing block on the fly

#### 0.0.10

 * Introduce QR Post panel

#### 0.0.11

 * Tweak default content of the blocks
 * Test on 6.1.1
 * Update descripcion and screenshots

= 0.0.13
 * Fix runtime breaking bug

## 额外信息

 *  版本 **0.0.13**
 *  最后更新：**3 年前**
 *  活跃安装数量 **500+**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/qr-block/)
 * 标签
 * [block](https://cn.wordpress.org/plugins/tags/block/)[blocks](https://cn.wordpress.org/plugins/tags/blocks/)
   [qr](https://cn.wordpress.org/plugins/tags/qr/)[qr code](https://cn.wordpress.org/plugins/tags/qr-code/)
 *  [高级视图](https://cn.wordpress.org/plugins/qr-block/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

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