跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

CrispyCohd Gated Content Block

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

CrispyCohd Gated Content Block

由 CrispyCohd 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

CrispyCohd Gated Content Block provides a secure, block-native way to restrict access to content in the WordPress block editor based on whether a visitor is logged in or logged out.

Unlike plugins that rely on JavaScript or CSS to hide content after it has already loaded, this plugin applies true server-side content gating, ensuring restricted content is not rendered into the front-end HTML output unless access conditions are met.

The gate block acts as a structural control point within your content:
– If the visitor meets the access condition, the gate is hidden and content continues rendering normally.
– If the visitor does not meet the condition, the gate message is displayed and all content after it is hidden.

This approach is predictable, secure, and fully compatible with caching, SEO, and modern WordPress themes.

Flexible, Block-Based Gated Layouts

CrispyCohd Gated Content Block works seamlessly with any core or custom WordPress block, giving you full freedom to design gated sections that suit your content and audience. Because the gate acts as a structural marker rather than a rigid wrapper, you can combine familiar blocks such as Columns, Groups, Buttons, or even the WordPress Login block to create clear, styled calls-to-action for restricted content. This makes it easy to build polished, conversion-focused gated layouts using the block editor alone, without shortcodes, custom templates, or additional plugins.

Upgrade to Pro

The free version is ideal for simple login-based content restrictions.

The Pro version adds advanced gating options, including:
– User roles (including custom roles)
– WooCommerce product ownership
– WooCommerce subscriptions
– User meta conditions
– Advanced visual controls and fade effects
– Full REST API gating for complete lock-down of content

Existing content created with the free version remains fully compatible when upgrading.

Learn more:
https://crispycohd.com/products/crispycohd-gated-content-block

螢幕擷圖

  • Gated Content block in the block editor, showing login-based access control.

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • CrispyCohd Gated Content Block (Lite) Gate the remainder of the post based on login state.

安裝方式

  1. Upload the plugin to the /wp-content/plugins/crispycohd-gated-content-block/ directory, or install it via the Plugins screen in WordPress.
  2. Activate the plugin through the Plugins screen.
  3. Open the block editor and search for “Gated Content”.
  4. Place the gate block where you want content access to stop.

常見問題集

Does this plugin hide content securely?

Yes. Restricted content is not rendered into the front-end HTML output unless access conditions are met. If REST API gating is also required you will need to upgrade to the Pro plugin.

Can I upgrade to the Pro version later?

Yes. The Pro version is fully backward compatible with content created using the free version.

Does this work with caching plugins?

Yes. Because gating happens on the server, it works correctly with page caching and CDNs.

Can I design my own gated layouts?

Yes. You can use any core or custom block inside the gated section to design your own layouts and calls-to-action.

Where can I find the source code for the block assets?

This plugin includes all human-readable source files used to generate the bundled JavaScript and CSS assets. Build tooling and instructions are included for transparency and compliance with WordPress.org guidelines. Most users do not need to rebuild the plugin to use it.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈CrispyCohd Gated Content Block〉的開發相關工作。

參與者
  • CrispyCohd

將〈CrispyCohd Gated Content Block〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.0.13

  • Addition of a ‘Preview’ feature for Admins & editors
  • Improved compatibility with Pro version
  • Updates to readable content & readme
  • Minor compatibility adjustments

中繼資料

  • 版本 1.0.13
  • 最後更新 15 小時前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 6.5 或更新版本
  • 已測試相容的 WordPress 版本 6.9.4
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    block-editorcontent restrictioncontent-gatinglogin required
  • 進階檢視

評分

這個項目尚無任何評論記錄。

Your review

查看全部使用者評論

參與者

  • CrispyCohd

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.