Linux 软件免费装
Banner图

GWiz IT Content Locker

开发者 gbecker1983
gwizit
更新时间 2026年10月2日 11:45
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

email marketing lead capture gated content content locker

下载

详情介绍:

GWiz IT Content Locker is a free, self-hosted lead-generation plugin for gating content, collecting email subscribers, connecting to popular email marketing platforms, and tracking conversions — without requiring a third-party SaaS service. Key Features: Third-Party Integrations: Sync confirmed signups automatically to your email marketing platform: Spam protection options: External Services: This plugin optionally connects to the following third-party services when configured by the site administrator. No data is sent to any external service until you explicitly enable and enter your API credentials for that service. All data transfer occurs over HTTPS. The ALTCHA captcha option is fully self-hosted and does not connect to any external service.

安装:

  1. Upload the g-wiz-it-content-locker folder to the /wp-content/plugins/ directory.
  2. Activate GWiz IT Content Locker through the Plugins screen in WordPress.
  3. Click the GWiz IT Content Locker menu item in the admin sidebar to manage restricted areas.
  4. Visit GWiz IT Content Locker → Settings to configure default templates and security settings.

屏幕截图:

  • Administration page showing multiple restricted areas
  • Partial view of the main settings page of a restricted area
  • Add and edit custom form fields for each area's signup form
  • Edit the confirmation and congratulations emails
  • Signup form templates
  • Form and popup styles
  • Built-in form and popup previewer for each section
  • Numerous third-party integration tools
  • Various security options
  • Lock an entire page by URL
  • Signup list with export options
  • Statistics page

升级注意事项:

1.7.3 Bug-fix update: area renaming (Enter and click-outside now save, Escape cancels), the area color picker, and default templates for new areas. Hard-refresh the admin page or clear caches after updating so the updated scripts load. 1.7.2 Compliance update: asset enqueuing, output escaping, and text domain now follow WordPress.org plugin review requirements. No functional changes. Clear any page cache after updating. 1.7.0 Breaking rename release: plugin renamed to "GWiz IT Content Locker". Shortcode, database tables, and all internal names changed. Export your areas before upgrading, then import after. Update any [gwiz_leadgate] shortcodes in your content to [gwiz_it_content_locker]. 1.6.2 WordPress coding standards compliance update. All PHPCS errors and warnings resolved. No functional changes. Clear any page cache after updating. 1.6.1 Bug fix: inline signup forms now correctly hide after dismissing the popup in debug mode. Clear any page cache after updating. 1.6.0 Feature release: clone, export, and import restricted areas with optional contact migration. Backup files include version metadata for safe restores across plugin updates. Clear any page cache after updating. 1.5.1 UI polish release: colored action buttons, stacked style sections, and a labeled preview. Clear any page cache after updating. 1.5.0 Feature release: form/popup style presets with per-field controls, a unified Form Template editor (now including the Confirm Notice), and an interactive preview modal. Clear any page cache after updating. 1.4.1 UI polish release: debug banner stays at the bottom of the popup with a cookie status line, and admin modals scroll inside the browser window. Clear any page cache after updating. 1.4.0 Feature release: new AJAX "already signed up" / "not signed up" flows with templates managed inside the Popup Template editor. Clear any page cache after updating. 1.3.2 Bug fix release: the "Already signed up" link in the inline signup form now works correctly. Clear any page cache after updating. 1.3.1 Bug fix release: CSS-selector gates now reliably hide the locked element and show the signup form until the visitor signs up. Clear any page cache after updating. 1.3.0 Major feature release: inline shortcodes, form builder, email templates, signups viewer with CSV export, statistics, HMAC-signed cookies, and frontend builder support. 1.2.0 Per-area toggles, color picker, and improved settings architecture. 1.0.0 Initial release. Installs the GWiz IT Content Locker administration dashboard and prepares the foundation for lead-gating features.

常见问题:

Where can I find help for each button?

Click the Help button at the top of the Restricted Areas page. It opens a detailed guide that explains every button and setting with a sample of each button alongside the explanation.

How do I find the shortcode for my area?

Click the ⚙️ Settings button on any restricted area card. The shortcode is displayed at the top with a Copy button.

Why do I see my content with no signup form?

Because you are logged in. Logged-in users always receive the unlocked content without a form — this is by design so site editors and administrators are never gated on their own site. Test as a visitor: log out, or open the page in a private/incognito browser window. To preview the gate while logged in, enable Debug Mode in the area's Settings modal.

What happens if two areas have the same name?

The plugin uses Windows-style deduplication. The first area keeps the base name, the second gets a 2 suffix, the third gets 3, etc. The exact shortcode is always shown in the area's settings.

Can I use this with Elementor or Divi?

Yes. The plugin pre-scans Elementor (_elementor_data), Divi (_et_pb_post_content), and Beaver Builder (_fl_builder_data) content for shortcodes and hide selector class names.

How do I hide elements by class name?

In the area's Settings modal, enter CSS selectors in the Hide by Selector textarea (one per line). For example: div.exampleclass or span.highlight. Elements matching these selectors will be hidden until the visitor signs up.

Can I show the form only on the first shortcode instance?

Each shortcode instance on the page renders independently. If you need the form on only one instance, place the shortcode once and use CSS selectors to lock other elements on the page.

Does the plugin load JS/CSS on every page?

No. The plugin pre-scans the current page's content (including Elementor/Divi/Beaver Builder data) and only loads frontend assets when the shortcode is detected or when hide selector class names are found in the page content.

How do I clone a restricted area?

Click the 📋 Clone button on any restricted area card header. A popup will ask whether to include contacts (defaults to No). The clone is created immediately as a disabled copy with a unique name suffix (e.g. "My Area-1") and a different color.

How do I export/import area settings?

Click the 📦 Export button on any area card to download a ZIP backup file. To import, click the 📥 Import Settings button on an existing area (to overwrite it) or the Import Area button at the top of the page (to create a new area from the backup). A popup will ask whether to include contacts. Backups are forward-compatible: if you import a backup from an older plugin version, missing settings will use their defaults.

Can I transfer contacts between areas?

Yes. When cloning or exporting, check the "Include contacts/users?" option. When importing, contacts from the backup file will be added to the target area. Note that this creates new signup records (contacts are not de-duplicated by email).

How do I force-load assets on a specific page?

Use the gwiz_it_content_locker_load_frontend filter (see Hooks section below).

Is the CSV export Excel-compatible?

Yes. The CSV includes a UTF-8 BOM (Byte Order Mark) at the start of the file, which tells Excel to use UTF-8 encoding. This ensures non-English characters (accented letters, CJK, etc.) display correctly.

What email placeholders are available?

Confirmation Email: {{confirm_link}}, {{site_name}}, {{email}}, {{area_name}}, {{source_url}} Congratulations Email: {{site_name}}, {{email}}, {{area_name}}, {{source_url}} Popup Template: {{form}}, {{already_signed_up_link}}, {{site_name}}, {{area_name}}, {{file_name}}

How does the "I have already signed up" link work?

The popup template includes an {{already_signed_up_link}} placeholder. When clicked, it shows an email-only verification form. If the email exists as a confirmed signup for that area, the visitor's cookie is set and they gain access. If not found, a generic message is shown (to prevent email enumeration).

更新日志:

1.7.3 1.7.2 1.7.0 1.6.2 1.6.1 1.6.0 1.5.1 1.5.0 1.4.1 1.4.0 1.3.2 1.3.1 1.3.0 1.2.0 1.1.0 1.0.0