Chuyển đến phần nội dung
WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • Tin tức
    • Tài liệu hướng dẫn
    • Diễn đàn
  • Giới thiệu
  • Facebook #WPVN
  • Tải WordPress
Tải WordPress
WordPress.org

Plugin Directory

CrispyCohd Gated Content Block

  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập
  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập

CrispyCohd Gated Content Block

Bởi CrispyCohd
Tải về
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Nhà phát triển
Hỗ trợ

Mô tả

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 or meets certain meta criteria.

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

Ảnh màn hình

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

Khối

Plugin này cung cấp 1 khối.

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

Cài đặt

  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.

Hỏi đáp

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.

Đánh giá

Không có đánh giá nào cho plugin này.

Người đóng góp & Lập trình viên

“CrispyCohd Gated Content Block” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • CrispyCohd

Dịch “CrispyCohd Gated Content Block” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.0.13

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

Meta

  • Phiên bản 1.0.13
  • Cập nhật lần cuối 4 tuần trước
  • Số lượt cài đặt Ít hơn 10
  • Phiên bản WordPress 6.5 hoặc cao hơn
  • Đã kiểm tra lên đến 6.9.4
  • Phiên bản PHP 7.4 hoặc cao hơn
  • Ngôn ngữ
    English (US)
  • Thẻ
    block-editorcontent restrictioncontent-gatinglogin required
  • Nâng cao

Đánh giá

Chưa có đánh giá nào được gửi.

Your review

Xem tất cả đánh giá

Những người đóng góp

  • CrispyCohd

Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

Xem diễn đàn hỗ trợ

  • Giới thiệu
  • Tin tức
  • Lưu trữ
  • Quyền riêng tư
  • Trưng bày
  • Giao diện
  • Plugin
  • Mẫu khối
  • Học hỏi
  • Hỗ trợ
  • Nhà phát triển
  • WordPress.tv ↗
  • Tham gia
  • Sự kiện
  • Quyên góp ↗
  • Năm cho Tương lai
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

tiếng Việt

  • Truy cập tài khoản X (trước đây là Twitter) của chúng tôi
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Xem trang Facebook của chúng tôi
  • Truy cập tài khoản Instagram của chúng tôi
  • Truy cập tài khoản LinkedIn của chúng tôi
  • Visit our TikTok account
  • Truy cập kênh YouTube của chúng tôi
  • Visit our Tumblr account
Viết code như làm thơ.
The WordPress® trademark is the intellectual property of the WordPress Foundation.