JZB Secure Content Block

설명

“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 localStorage so 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.

블록

이 플러그인은 3개의 블록을 제공합니다.

  • Prompt Area
  • Hidden Content
  • JZB Secure Block

설치

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Navigate to Settings -> Secure Content Block to configure your global password and custom UI colors.
  4. 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.

Will search engines index the hidden content?

No. Since the content is only loaded dynamically after a correct password submission, search engine crawlers will only see the “Please enter password” form.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“JZB Secure Content Block”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“JZB Secure Content Block”(이)가 2 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “JZB Secure Content Block”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.0

  • Initial public release.