Hoppa till innehåll
WordPress.org

Svenska

  • Teman
  • Tillägg
  • Nytt
  • Support
  • Om…
  • Mönster
  • Engagera dig!
  • Skaffa WordPress
Skaffa WordPress
WordPress.org

Plugin Directory

CrispyCohd Gated Content Block

  • Skicka in ett tillägg
  • Mina favoriter
  • Logga in
  • Skicka in ett tillägg
  • Mina favoriter
  • Logga in

CrispyCohd Gated Content Block

Av CrispyCohd
Ladda ner
  • Detaljer
  • Recensioner
  • Installation
  • Utveckling
Support

Beskrivning

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

Skärmdumpar

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

Block

Detta tillägg tillhandahåller 1 block.

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

Installation

  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.

Vanliga frågor

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.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”CrispyCohd Gated Content Block” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer
  • CrispyCohd

Översätt ”CrispyCohd Gated Content Block” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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

  • Version 1.0.13
  • Senast uppdaterat 2 månader sedan
  • Aktiva installationer Färre än 10
  • WordPress-version 6.5 eller senare
  • Testat upp till 6.9.7
  • PHP-version 7.4 eller senare
  • Språk
    English (US)
  • Etiketter
    block-editorcontent restrictioncontent-gatinglogin required
  • Avancerad vy

Betyg

Än så länge har inga recensioner skickats in.

Your review

Visa alla recensioner

Bidragande personer

  • CrispyCohd

Support

Har du något att säga? Behöver du hjälp?

Visa supportforum

  • Om
  • Nyheter
  • Webbhotell (hosting)
  • Integritet
  • Showcase
  • Teman
  • Tillägg
  • Mönster
  • Lär dig
  • Support
  • Utvecklare
  • WordPress.tv ↗
  • Engagera dig
  • Evenemang
  • Donera ↗
  • Presentartiklar ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Svenska

  • Besök vår X-konto (f.d. Twitter)
  • Besök vårt Bluesky-konto
  • Besök vårt Mastodon-konto
  • Besök vårt Thread-konto
  • Besök vår Facebook-sida
  • Besök vårt Instagram-konto
  • Besök vårt LinkedIn-konto
  • Besök vårt TikTok-konto
  • Besök vår YouTube-kanal
  • Besök vårt Tumblr-konto
Kod är poesi.
The WordPress® trademark is the intellectual property of the WordPress Foundation.