| 开发者 | plugsbe |
|---|---|
| 更新时间 | 2026年11月2日 23:02 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[lokzi_logout_link]your-theme/lokzi/lock-screen.php)Install Lokzi, open Lokzi → Settings → Protection, choose Entire site, set the site password and turn on Enable Lokzi protection. Every front-end page then shows the lock screen until a visitor enters the password.
Open the page in the editor and set a password in the "Lokzi Protection" box, or add it under Lokzi → Settings → Protection → Protected content. Each page or post can have its own password. To leave the rest of the site public, choose Selected content only.
Yes. Give the page a password in the editor's "Lokzi Protection" box. Only that password opens it; the site password does not.
Yes. Use Keep public to exclude pages, posts, post types or URL patterns such as /shop/*. This suits a landing page or a contact page.
Yes. The free plugin has no time limit and needs no account. It includes site and page passwords, the visual builder, 10 templates, lockouts, the schedule and the activity log. Lokzi Pro is a separate paid plugin for extra features.
No. You design the lock screen by clicking and dragging in the builder, and you set passwords in normal settings screens.
Yes. The lock screen replaces the page for visitors who have not unlocked it, so it does not depend on your theme, and pages built with a page builder can be locked like any other page. Locking only part of a page is a Pro feature.
No. Logged-in administrators always skip the lock screen by default.
Set a new one in Lokzi. Passwords are hashed, so the current one can never be shown again, only replaced. Changing a password logs out everyone who used the old one.
Protected content is not shown to search engines, and the lock screen sends a noindex header by default. While you build a site, the 503 status tells search engines to come back later.
Yes. Lokzi sends no-cache headers and sets DONOTCACHEPAGE on protected requests. If your host uses an aggressive server cache, exclude pages that use Lokzi cookies (lokzi_*).
Add add_filter( 'lokzi_trust_proxy_headers', '__return_true' ); to a small plugin so Lokzi reads the real visitor IP for whitelists and lockouts.
Yes, with Lokzi Pro. It locks categories, tags, whole post types, WooCommerce products, part of a page, media files and the WordPress login page. The free plugin locks the entire site and single pages and posts.
No. Visitors do not get user accounts, and Lokzi has no subscriptions or user registration. It gives people access with a password, which suits content you want to share with a group without managing accounts.
Read the documentation or contact the team at support.plugsbe.com.