Title: JZB 加密内容区块
Author: Yephy
Published: <strong>2026 年 4 月 8 日</strong>
Last modified: 2026 年 4 月 11 日

---

搜索插件

![](https://ps.w.org/jzb-secure-content-block/assets/banner-772x250.png?rev=3501702)

![](https://ps.w.org/jzb-secure-content-block/assets/icon-256x256.png?rev=3501702)

# JZB 加密内容区块

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

[下载](https://downloads.wordpress.org/plugin/jzb-secure-content-block.1.0.0.zip)

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

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

## 描述

“JZB 加密内容区块 (JZB Secure Content Block)”是保护您的优质内容、独家代码片段或下载
链接的理想解决方案。

它旨在与页面缓存（如 Cloudflare、WP Rocket 或 LiteSpeed Cache）高效协同工作：前端
预先加载一个外壳，只有在提供正确密码时，才会通过 AJAX POST 请求异步获取真实的加密
内容。

### 核心功能：

 * **兼容缓存**：完美绕过前端 HTML 缓存环境，确保动态验证的准确性。
 * **原生古腾堡支持**：采用现代的“父-子”区块架构。您可以将任何区块直接拖放或插入
   到隐藏区域内。
 * **智能本地记忆**：通过 `localStorage` 记住解锁状态，用户在刷新页面时无需重复输入
   密码。
 * **全局与独立密码**：可设置全局默认密码以节省时间，也支持在特定文章中单独设置独立
   密码进行覆盖。
 * **UI 外观自定义**：可在设置面板中自由定制背景色、边框和按钮样式。

## 区块

该插件提供了 3 个区块.

 *   Prompt Area
 *   Hidden Content
 *   JZB Secure Block

## 安装

 1. 将插件文件夹上传到 `/wp-content/plugins/` 目录。
 2. 在 WordPress 的“插件”页面中启用该插件。
 3. 导航至 `设置 -> 隐藏区块设置`，配置您的全局密码和自定义 UI 颜色。
 4. 打开任何文章或页面，点击 `+` 图标，搜索并插入“JZB 隐藏区块” (JZB Secure Block)。

## 常见问题

### 它兼容 Cloudflare 和 LiteSpeed Cache 吗？

是的。因为验证过程是向 `admin-ajax.php` 发起实时 AJAX 请求（该接口默认不被缓存），
所以您的网站前端可以放心开启激进缓存，同时内容保护依然保持动态有效。

### 搜索引擎会收录隐藏的内容吗？

不会。由于真实的加密内容只有在正确提交密码后才会动态加载，搜索引擎爬虫只能抓取到“
请输入密码”的提示表单，无法抓取隐藏数据。

## 评价

此插件暂无评价。

## 贡献者及开发者

「JZB 加密内容区块」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

「JZB 加密内容区块」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/jzb-secure-content-block/contributors)
为本插件所做的贡献。

[帮助将「JZB 加密内容区块」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/jzb-secure-content-block)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * 首次公开发布。

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**1 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [Chinese (China)](https://cn.wordpress.org/plugins/jzb-secure-content-block/)、
   [Dutch](https://nl.wordpress.org/plugins/jzb-secure-content-block/) 和 [English (US)](https://wordpress.org/plugins/jzb-secure-content-block/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/jzb-secure-content-block)
 * 标签
 * [block](https://cn.wordpress.org/plugins/tags/block/)[hidden content](https://cn.wordpress.org/plugins/tags/hidden-content/)
   [Password Protect](https://cn.wordpress.org/plugins/tags/password-protect/)
 *  [高级视图](https://cn.wordpress.org/plugins/jzb-secure-content-block/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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