VibeFox Private Content — Help
Requirements
WordPress: 6.2 or later.
PHP: 8.0 or later.
WooCommerce (optional): for protecting products.
CAPTCHA (optional): a site key and a secret key of Google reCAPTCHA v2 or v3, hCaptcha or Cloudflare Turnstile.
VibeFox license key: bought on vibefox.net. One key works on one domain.
Installation
1. In WordPress go to Plugins > Add New > Upload Plugin, choose the plugin ZIP file and click Install Now. You can also upload the vf_private_content folder to /wp-content/plugins/ by FTP.
2. Click Activate. WordPress opens VF Private Content > Settings > License. Paste your VibeFox license key into License key and click Activate. Until the key is active the plugin stays switched off and its menu shows only Settings (see License key).
3. The menu VF Private Content appears in the WordPress admin with the pages Dashboard, Protected Content, Passwords and Settings.
4. Open a post, tick Protect this content with a password in the Password protection box, add a password and update the post.
5. Adjust texts, colours and security in VF Private Content > Settings and click Save Changes.
Configuration
All settings are on one page: VF Private Content > Settings. The sections are listed on the left. Click Save Changes to save. Texts can be entered for each language on a multilingual site.
General
Enable protection: master switch. When off, every protected post, section and the site wall are open to everybody. Default: on.
Protectable post types: the Password protection box appears in the editor of these types. Protection of other types is ignored. Default: posts and pages.
Roles that always see protected content: logged-in users with these roles never see a password form (posts, sections, site wall). Authors always see posts they can edit. Default: Administrator.
One password opens:
Category passwords always open their whole category, and master passwords always open everything.
Stay unlocked for (hours): 0 means until the browser is closed. A session never outlives the password that opened it. Default: 24.
Magic links: access links (?vf_pc_key=…) that open content without typing the password. Default: on.
Whole site
Protect the whole site: every front-end page asks for a password (preview or maintenance mode). wp-admin and wp-login.php stay open, and bypass roles pass. Default: off.
Site password: master passwords and "Whole site" passwords from the Passwords page open the site too. Changing it closes the site for everybody.
Headline: default: This site is private. Text: default: Enter the password to access the site.
Open pages: one path or URL per line; the path and everything below it stays open. Language prefixes like /en/ are ignored.
Open for IPs: one IP per line; wildcards (*) and CIDR ranges are supported.
Password form
Template: Default, Minimal or Card. Override in your theme: your-theme/vf-private-content/form-default.php (form-minimal.php, form-card.php).
Headline (Protected Content), Text (Please enter the password to view this content.), Button text (Unlock), Field placeholder (Enter password...), Wrong password message (Incorrect password. Please try again.) and Expired password message (This password has expired.; shown when the password is right but expired or used up).
Background color (#ffffff), Text color (#333333), Button color (#0073aa) and Border color (#dddddd).
Logo: an optional image above the headline.
"Remember me" checkbox: default: off. Remember for (days): default: 30.
Security
Brute-force protection: counts wrong passwords per IP on all forms and magic links and locks the IP out when the limit is reached. Default: on.
Wrong passwords before lock-out: default: 5.
Lock-out duration (minutes): default: 30.
Never lock out these IPs: one IP per line; wildcards (*) and CIDR ranges are supported.
Trust proxy headers: reads the visitor IP from CF-Connecting-IP, X-Real-IP or X-Forwarded-For. Enable only behind Cloudflare or your own reverse proxy, otherwise visitors can fake their IP and bypass the lock-out. Default: off.
CAPTCHA: None (default), Google reCAPTCHA v2 (checkbox), Google reCAPTCHA v3 (invisible), hCaptcha or Cloudflare Turnstile. Works only when both keys are filled in: Site key and Secret key.
Show the CAPTCHA after N wrong passwords: 0 means always. Default: 3.
Reset all sessions: logs every visitor out of all unlocked content; they must enter the password again.
Anonymize IPs: stores IPs in the log and emails with the last part zeroed (GDPR). Default: off.
Visibility
The text of locked posts never reaches visitors. The switches below decide whether protected posts are listed at all (all on by default):
Excerpt of locked posts: shown instead of the excerpt in archives, search, feeds and the REST API. Empty means nothing. Default: This content is password protected.
Lock icon before the title: default: on.
Hide titles in listings: archives show "Protected content" instead of the title of locked posts. Default: off.
Hide featured images in listings: default: off.
Notifications
Send notifications to: empty means the site administration email.
E-mail on every unlock: default: off.
E-mail when an IP is locked out: default: on.
Weekly summary: unlocks, wrong passwords, lock-outs and the most opened content of the last 7 days, sent by WP-Cron. Default: off.
Advanced
Plugin REST API: /wp-json/vf-pc/v1/verify (public, rate-limited), /protected and /stats (administrators; cookie nonce or Application Password).
Extra CSS class of the form: your own class.
Protect a part of a post: a short reminder of the shortcode and the block.
Cron
The daily WP-Cron task and its schedule.
Logging
Event log: unlocks, wrong passwords, lock-outs and admin actions. Dashboard statistics use these events. Default: on.
Record: Everything (info) (default), Wrong passwords and lock-outs (warning) or Lock-outs only (error).
Keep events for (days): older events are deleted daily. 0 = keep forever. Default: 90.
Also write a log file: logs/vf-pc-debug.log.php, protected by a PHP guard and not readable over HTTP. Default: off. Rotate the file at (MB): default: 5.
Uninstall & Clear
Delete all data when the plugin is deleted: passwords, magic links, the event log, settings and the protection flags of posts are removed when you delete the plugin on the Plugins screen. Deactivation never deletes anything. Default: off.
Data Cleanup: Delete passwords, Delete magic links, Delete event history and Delete file log entries, with the current counts.
Status
The current and minimum versions of PHP and WordPress and the detected multilingual plugin.
Protecting content
Posts, pages and products: in the editor, the Password protection box has Protect this content with a password and Add a password with Password, Label (for you), Max uses (0 = unlimited, 1 = one-time), Hours after 1st use (0 = no limit) and an expiry date. Each password shows its status: Active, Inactive, Expired or Used up. The password is saved (hashed) when you save the post. Password hint (shown to visitors) helps visitors. Create magic link creates a link that opens this content without typing the password. If no active password exists, the box warns that nobody can open the content. In the post list, a lock icon switches the protection on or off.
Parts of a post: [vf_pc_lock password="secret"]Hidden text[/vf_pc_lock]. Attributes: passwords="a,b", roles="editor,subscriber", headline, description, hint and teaser="120" (the first N characters with a blurred placeholder, never the hidden text). In the block editor use the block Protected content. Several sections with different passwords can be on one page.
Categories and tags: on the Protected Content page click Protect a category, or add a password for a category, tag or product category on the Passwords page. Every post in it is protected and opens with that password.
Whole site: turn on Protect the whole site and set the site password. Reading the REST API (including the WooCommerce Store API) and live AJAX searches is closed for visitors too; incoming webhooks keep working.
Passwords
VF Private Content > Passwords lists all passwords with the tabs All, Posts & pages, Categories & tags, Whole site and Master, search by label, post ID or term ID, and actions to activate, deactivate and delete. A master password opens every protected post, category, section and the site wall.
Add password: what it opens, Password, Label (for you), Max uses, Valid for (hours after first use), Expires at and E-mail the password to (optional). A post password also switches the post protection on.
Generate: How many (up to 1000), Length, Characters, Label prefix and Max uses of each (1 = one-time codes). The generated passwords can be downloaded as CSV or saved with Save all.
Import: a CSV with a header row. object_type is post (any post type), category (any category, tag or term ID), site or master. Posts get their protection switched on. Export CSV exports the list.
Magic link: Uses (0 = unlimited), Valid (hours) (0 = no expiry) and E-mail it to (optional), then Create link and Copy.
Passwords are stored as hashes, so note a password before you save it.
Dashboard and statistics
VF Private Content > Dashboard shows protected posts, active passwords, unlocks and wrong passwords in 30 days, IP lock-outs, active magic links, the chart Unlocks and wrong passwords per day for 14 days, the most unlocked content, recent events and a warning for protected posts without an active password.
The All events view lists the event log with filters by dates, event type (successful unlocks, failures and lock-outs), post or term ID and IP, a 30-day chart and Export CSV.
Protected Content lists all protected posts and categories with filters, search and the bulk actions Switch protection on, Switch protection off and Remove protection and passwords.
How it works
The visitor enters the password in the form and the content fades in without a page reload; the form also works without JavaScript. Wrong attempts show the remaining attempts, and after the limit the visitor sees Too many attempts. Please try again later. A signed cookie session (HttpOnly, SameSite, Secure on HTTPS) keeps the content open. A session ends when its password is deactivated, deleted or expires.
A password never opens drafts, private posts or posts that are not protected. Protected pages send no-cache headers and DONOTCACHEPAGE (WP Super Cache, W3 Total Cache, LiteSpeed Cache), and the unlock request needs no nonce, so forms keep working on cached pages.
WooCommerce: a locked product shows the password form instead of its short description, is not purchasable, and its description is not in the JSON-LD.
Multilingual: works with qTranslate-XT, Polylang and WPML. A post protected together with its translation is opened by the passwords of either.
When the plugin is deactivated, protected content becomes public.
License key
VibeFox license key: bought on vibefox.net. One key works on one domain.
The plugin works only with an activated key. Without it the plugin is switched off: its features, shortcodes, blocks, admin pages, scheduled tasks and e-mails do not run, and its menu shows only Settings with the License tab. Your settings and data are kept and come back as soon as a key is activated. Right after you activate the plugin in Plugins, WordPress opens this tab.
Open VF Private Content > Settings > License, paste the key into License key and click Activate. The plugin switches on at once (the page reloads). The block License — VibeFox Private Content then shows the masked key, the status Active until with the date and the domain, the buttons Check now, Change key, Remove key and the link Manage licenses and domains in your account.
Messages under the field: The key looks incomplete — copy the whole key from your account. (nothing is sent), Key not found. Check that you copied the whole key from your account., This key belongs to another product. (use the key bought for VibeFox Private Content) and Domain limit reached (free a slot for this domain in your account, then click Check now). After the site address changes, click Check now.
An expired license keeps the plugin working, but without updates and support. Remove key switches the plugin off on this site; the domain slot is freed only in your vibefox.net account. If the license server cannot be reached, the plugin keeps working on the last known status. When the plugin is deleted, the key and its status are always removed.
Troubleshooting
The plugin menu shows only Settings: the license key is not active. Open VF Private Content > Settings > License and click Activate (or Check now if a key is already entered); the messages under the field are explained in License key.
I see the content without a password: your role is in Roles that always see protected content (administrators by default), or you can edit the post. Test in a private browser window.
Nobody can open a post: the post is protected but has no active password and there is no master password. The Dashboard lists such posts.
This password has expired.: the password is right but expired or used up. Add a new password or raise the limit.
Visitors are locked out behind Cloudflare or a proxy: turn on Trust proxy headers, otherwise all visitors share the proxy IP.
The CAPTCHA does not appear: both keys must be filled in.
Can I read a password again: no, only hashes are stored. Note or email a password when you create it.
Uninstall
Deactivating the plugin keeps all data, but protected content becomes public. To remove it, deactivate and delete it on the Plugins page. Passwords, magic links, the event log, settings and protection flags are removed only if Delete all data when the plugin is deleted was on. The license key and license status of this plugin are always removed. The domain slot is freed only in your vibefox.net account.
Google reCAPTCHA, hCaptcha, Cloudflare Turnstile, Yoast SEO, Rank Math, All in One SEO, WP Super Cache, W3 Total Cache and LiteSpeed Cache are trademarks of their respective owners. This plugin is not affiliated with or endorsed by them.
