Перейти до вмісту
WordPress.org

Україна

  • Теми
  • Плагіни
  • Новини
  • Підтримка
  • Про
  • Документація
  • Спільнота
  • Завантажити WordPress
Завантажити WordPress
WordPress.org

Plugin Directory

CrispyCohd Gated Content Block

  • Надіслати плагін
  • My favorites
  • Увійти
  • Надіслати плагін
  • My favorites
  • Увійти

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 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

Скріншоти

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

Блоки

Цей плагін надає 1 блок.

  • 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
  • Останнє оновлення 2 місяці тому
  • Активних встановлень Менше 10
  • Версія WordPress 6.5 або вище
  • Tested up to 6.9.7
  • Версія PHP 7.4 або вище
  • Мова
    English (US)
  • Позначки
    block-editorcontent restrictioncontent-gatinglogin required
  • Розширений перегляд

Оцінки

No reviews have been submitted yet.

Your review

See all reviews

Учасники

  • CrispyCohd

Підтримка

Є що сказати? Потрібна допомога?

Перейти в форум підтримки

  • Про нас
  • Новини
  • Хостинг
  • Приватність
  • Вітрина
  • Теми
  • Плагіни
  • Паттерни
  • Навчання
  • Підтримка
  • Розробники
  • WordPress.tv ↗
  • Приєднатися
  • Події
  • Підтримати ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Україна

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Завітайте до нашої стрічки в Mastodon
  • Visit our Threads account
  • Завітайте на нашу сторінку в Facebook
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Код – це поезія.
The WordPress® trademark is the intellectual property of the WordPress Foundation.