Beschreibung
„JZB Secure Content Block“ is a solution to protect your premium content, exclusive code snippets, or download links.
It aims to work efficiently alongside page caching (like Cloudflare, WP Rocket, or LiteSpeed Cache) by loading an empty shell upfront and fetching the actual secure content asynchronously via an AJAX POST request only when the correct password is provided.
Key Features:
- Cache Compatible: Bypasses frontend HTML caching environments.
- Gutenberg Native: Uses the modern Parent-Child block architecture. You can drag and drop any block inside the hidden area.
- Smart Local Memory: Remembers unlocked state via
localStorageso your users don’t have to re-enter passwords when refreshing. - Global & Local Passwords: Set a global default password to save time, or override it on specific posts.
- UI Customizer: Customize colors, borders, and button styles in the settings panel.
Blöcke
Dieses Plugin bietet 3 Blöcke.
- Prompt Area
- Hidden Content
- JZB Secure Block
Installation
- Upload the plugin folder to the
/wp-content/plugins/directory. - Activate the plugin through the ‚Plugins‘ screen in WordPress.
- Navigate to
Settings -> Secure Content Blockto configure your global password and custom UI colors. - Go to any Post or Page, click the
+icon, and search for the „JZB Secure Block“ block.
FAQ
-
Does it work with Cloudflare and LiteSpeed Cache?
-
Yes. Because the verification uses a live AJAX call to
admin-ajax.php(which is excluded from caching by default), your frontend can be aggressively cached while the content protection remains dynamic. -
No. Since the content is only loaded dynamically after a correct password submission, search engine crawlers will only see the „Please enter password“ form.
Rezensionen
Für dieses Plugin gibt es keine Rezensionen.
Mitwirkende und Entwickler
„JZB Secure Content Block“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:
Mitwirkende„JZB Secure Content Block“ wurde in 2 Sprachen übersetzt. Danke an die Übersetzer für ihre Mitwirkung.
Übersetze „JZB Secure Content Block“ in deine Sprache.
Interessiert an der Entwicklung?
Durchstöbere den Code, sieh dir das SVN-Repository an oder abonniere das Entwicklungsprotokoll per RSS.
Änderungsprotokoll
1.0.0
- Initial public release.
