Linux 软件免费装
Banner图

GWiz IT Content Locker

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

标签

lead generation email marketing lead capture gated content content locker

下载

1.12.0 1.12.1

详情介绍:

Turn your WordPress content and downloads into leads. GWiz IT Content Locker lets you place pages, downloads, sections of content, or individual page elements behind a customizable signup form. Visitors enter their information to unlock your content, giving you a simple way to grow your email list, offer lead magnets, protect downloads, and measure conversions directly from WordPress. The plugin is free and self-hosted. No third-party SaaS service is required to use the content locker or store your signups. Want to use an existing email marketing platform? Confirmed subscribers can optionally be synced automatically to Mailchimp, Brevo, ConvertKit, ActiveCampaign, or phpList. Watch It In Action GWiz IT Content Locker — demo video What Can You Lock? Great For How It Works
  1. Create a Restricted Area in WordPress.
  2. Choose what you want to protect.
  3. Customize your signup form and unlock message.
  4. Visitors complete the form to gain access.
  5. View signups and conversion statistics in WordPress or optionally sync subscribers to your email marketing platform.
You can create multiple Restricted Areas, each with its own protected content, form, styling, settings, integrations, and subscriber list. Lead Capture & Content Gating Forms & Styling Subscriber Management & Analytics Email Marketing Integrations Confirmed signups can optionally be sent automatically to: These integrations are optional. You can use GWiz IT Content Locker entirely within WordPress without connecting an external email marketing service. Spam Protection Choose the spam-protection method that works best for your site: Works With Popular Page Builders GWiz IT Content Locker supports content created with: The plugin detects gated content inside supported page-builder data and only loads its frontend assets when they are needed. Privacy & Self-Hosted Data GWiz IT Content Locker stores signup information on your WordPress website. No subscriber information is sent to an external email marketing service unless you configure and enable that integration. The plugin integrates with the WordPress privacy tools: signups appear in Tools → Export Personal Data, and Tools → Erase Personal Data removes the visitor's email, form answers, source URL and IP address (an anonymised record is kept so your statistics stay accurate) and asks each connected email service to delete the contact. Suggested privacy-policy text is provided under Tools → Privacy. Gate activity is kept bounded and privacy-friendly on an automatic schedule: visitor IP addresses are anonymised after 30 days and old events are deleted after 365 days by default (both configurable under Settings → Data Retention). If you prefer not to use an external CAPTCHA service, the built-in ALTCHA option is fully self-hosted and does not make external API calls. Built for WordPress

安装:

  1. Install GWiz IT Content Locker from the WordPress Plugins screen, or 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 GWiz IT Content Locker in the WordPress admin sidebar.
  4. Create your first Restricted Area.
  5. Choose the page, download, shortcode content, or page element you want to protect.
  6. Customize your signup form and settings.
  7. Activate the Restricted Area.
  8. Test the gate while logged out or in a private/incognito browser window.
Global templates and security settings can be configured under GWiz IT Content Locker → Settings.

屏幕截图:

  • Manage multiple Restricted Areas from one WordPress dashboard.
  • Configure what each Restricted Area protects and how access is granted.
  • Build custom lead-capture forms with drag-and-drop fields.
  • Customize confirmation and congratulations emails.
  • Customize signup form and popup templates.
  • Match forms and popups to your website with built-in styling controls.
  • Preview signup forms and popup states before publishing.
  • Connect confirmed subscribers to popular email marketing platforms.
  • Choose from multiple spam-protection and security options.
  • Protect an entire WordPress page or post by URL.
  • View, search, and export collected subscribers.
  • Track views, submissions, confirmations, and conversion performance.

升级注意事项:

1.12.1 Required fix if you installed 1.12.0: that release was missing files and could not be activated ("Failed opening required ... class-gwiz-it-content-locker-content-shield.php"). Update to 1.12.1 and activate normally. 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.

常见问题:

Is GWiz IT Content Locker free?

Yes. GWiz IT Content Locker can be installed and used for free to gate content, collect subscribers, manage signups, and track conversions directly from WordPress.

Do I need Mailchimp or another email marketing service?

No. External email marketing integrations are optional. Signups can be collected and managed directly from your WordPress website without connecting Mailchimp, Brevo, ConvertKit, ActiveCampaign, phpList, or another third-party marketing service.

What types of content can I lock?

You can protect:

  • Entire pages or posts
  • File downloads
  • Sections of page content
  • Individual page elements using CSS selectors
You can also trigger a content-locker popup from a custom anchor link.

Can I use the plugin for lead magnets?

Yes. You can require visitors to complete a signup form before accessing PDFs, guides, checklists, documents, downloads, bonus content, resource libraries, or other gated material.

Can I protect downloadable files?

Yes. GWiz IT Content Locker includes a protected file-download system that can require visitors to complete the signup process before accessing a gated file. The file is stored outside the public web directory, and its download link never serves the file on its own — after the visitor's access is confirmed on the server, a short-lived single-use download token is issued for that specific download.

Can I connect signups to my email marketing platform?

Yes. Confirmed subscribers can optionally be synced automatically to:

  • ActiveCampaign
  • Brevo
  • ConvertKit
  • Mailchimp
  • phpList

Can I use double opt-in?

Yes. Double opt-in can be enabled individually for each Restricted Area. When enabled, visitors must confirm their email address before receiving access: they get a confirmation email at signup, and the welcome email is sent once they click the confirmation link. With double opt-in disabled, a single welcome email is sent right after signup.

Does the plugin work 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 configured selector class names.

Does the plugin work with Beaver Builder?

Yes. Beaver Builder content is supported along with Elementor, Divi, and standard WordPress content.

Where are subscriber details stored?

Subscriber information is stored on your WordPress website. Data is only sent to an external email marketing service if you explicitly configure and enable that integration. Signups are included in the WordPress personal-data export and erasure tools (Tools → Export Personal Data / Tools → Erase Personal Data), so you can respond to visitor privacy requests directly from the WordPress admin.

How do I find the shortcode for my Restricted Area?

Click the Settings button on any Restricted Area card. The shortcode is displayed near the top of the settings window with a Copy button.

Why do I see my content without a signup form?

You are most likely logged into WordPress. Logged-in users normally receive the unlocked content without seeing the signup form. This is intentional so administrators and editors are not gated on their own website. To test the gate as a visitor, log out or open the page in a private/incognito browser window. Administrators can also enable Debug Mode to preview the gate while logged in.

How do I hide elements by CSS selector?

Open the Restricted Area's Settings modal and enter CSS selectors in the Hide by Selector field, one selector per line. For example: div.exampleclass or: span.highlight Elements matching those selectors are locked until the visitor signs up. How they look is your choice per Restricted Area (the Locked Element Style setting):

  • Locked section (default) — the content is removed from the page before it is sent to the visitor's browser (it is not in the page source or the DOM) and replaced with a visible, customisable placeholder: background and text colors, message text, and button text, colors and CSS class. Clicking the element opens the signup form in a popup modal.
  • Visual lock (classic) — the element keeps its place in your page and is styled with your Custom Lock Style and an optional hover tooltip. Two checkboxes control what happens to the content server-side: Strip Locked Content removes the matched element entirely from the page source (most secure), and Remove Child Elements keeps the styled element shell but removes its children (images and other embeds are removed entirely, since their content is their source URL). With neither checked, the content stays in the page and is only hidden visually — like the original version of this feature.
In every mode the removed content is restored into the page after the visitor signs up (and confirms, when double opt-in is enabled). Supported selectors: tag names, *, #id, .class, attribute selectors ([href], [type="text"], [class*="x"], [href^="https"], [href$=".pdf"], [rel~="x"], [lang|="en"]), the descendant/child/sibling combinators (space, >, +, ~), comma-separated lists, and :first-child, :last-child, :nth-child(n|odd|even). Any other pseudo-class (for example :hover or :has()) is applied as a visual lock only — for those selectors the plugin falls back to locking the element client-side, which hides it visually but does not remove it from the page source.

Can I show the signup form on only one section of the page?

Yes. Place the shortcode around the content where you want the signup form to appear. If you need to protect additional elements without displaying additional forms, use CSS selectors to lock those elements.

Will my caching plugin be cleared when I save?

Yes — by default the plugin clears popular caching plugins (WP Rocket, WP Super Cache, W3 Total Cache, LiteSpeed Cache, WP Fastest Cache, Cache Enabler, Comet Cache, SG Optimizer, WP-Optimize, Swift Performance, Autoptimize, Nginx Helper and Hummingbird) and host-level caches on GoDaddy Managed WordPress, WP Engine, Kinsta, Pantheon and Cloudways whenever anything in a Restricted Area is saved, so gating changes appear immediately. You can turn this off under GWiz IT Content Locker → Settings → Cache Clearing. If your host also runs a WAF/CDN cache (for example GoDaddy's WAF), that layer may still need a manual clear from your hosting dashboard.

Does the plugin load JavaScript and CSS on every page?

No. The plugin checks the current page content, including supported page-builder data, and only loads frontend assets when a shortcode or relevant selector is detected.

Can I clone a Restricted Area?

Yes. Click the Clone button on a Restricted Area. You can choose whether subscriber/contact records should also be included. The duplicated area is created as a disabled copy with a unique name.

Can I export and import Restricted Areas?

Yes. Click Export on a Restricted Area to download a ZIP backup. To import a backup, use Import Settings on an existing Restricted Area or Import Area to create a new one. You can optionally include subscriber/contact records. Backup files contain plugin version information so older backups can be handled safely as the plugin evolves.

Can I transfer contacts between Restricted Areas?

Yes. When cloning, exporting, or importing an area, you can choose to include contacts. Imported contacts are added as new signup records and are not automatically de-duplicated by email address.

Is the CSV export compatible with Excel?

Yes. CSV exports include a UTF-8 BOM so applications such as Microsoft Excel correctly recognize UTF-8 text, including accented and non-English characters.

How do I force frontend assets to load on a specific page?

Developers can use the gwiz_it_content_locker_load_frontend filter documented in the Hooks section below.

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 visitors click it, they are shown an email verification form. If the email exists as a confirmed signup for that Restricted Area, the visitor receives an access cookie and the protected content is unlocked. If the address is not found, a generic response is shown to help prevent email enumeration.

Where can I find help for each button and setting?

Click the Help button at the top of the Restricted Areas page. The plugin includes a detailed plain-English guide explaining the available buttons, settings, and options.

更新日志:

1.12.1 1.12.0 1.11.0 1.10.0 1.9.0 1.8.1 1.8.0 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