Перайсці да змесціва
WordPress.org

Беларуская мова

  • Тэмы
  • Плагіны
  • News
  • Падтрымка
  • Пра нас
  • Remembers
  • Blocks
  • Education
  • Дапаможнік
  • WP-CLI
  • Звязацца з намі
  • Спампаваць WordPress
Спампаваць WordPress
WordPress.org

Plugin Directory

Private Content Login Protector

  • Адправіць плагін
  • Мае абраныя
  • Увайсці
  • Адправіць плагін
  • Мае абраныя
  • Увайсці

Private Content Login Protector

Аўтар: Abdul Rafay Ul Haque
Спампаваць
  • Падрабязнасці
  • Водгукі
  • Ўсталёўка
  • Распрацоўка
Падтрымка

Апісанне

Private Content Login Protector lets you gate any piece of WordPress content behind a login screen that is entirely separate from the normal WordPress login (wp-login.php) and the wp_users table.

Key features:

  • Fully custom login, forgot-password and reset-password pages served at /private-login/
  • Independent user table (wp_pclp_users) with its own roles (Plugin Admin, Manager, Viewer)
  • Per-post “Protect this content” metabox for Pages, Posts, WooCommerce Products, and any public Custom Post Type
  • Product category protection field
  • Bulk protection toggles (all products / all categories / all pages / all posts / specific CPTs)
  • Fully theme-able login screen (heading, sub-heading, logo, colors, border radius, font, card width)
  • Configurable session timeout, login attempt limits with lockout, and password reset token expiry
  • Activity log (login, logout, failed login, password reset) with IP + browser
  • CSV import/export of users, JSON import/export of settings
  • Shortcodes: [private_login], [private_logout], [current_private_user] (also available as the prefixed aliases [pclp_login], [pclp_logout], [pclp_current_user])
  • Elementor and WooCommerce compatible
  • Translation-ready

Скрыншоты

Ўсталёўка

  1. Upload the private-content-login-protector folder to /wp-content/plugins/.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Go to “Private Content Login” in the admin menu to configure the login page design and behaviour.
  4. On first activation, a default account (username admin) is created — check the admin notice for the generated password and change it immediately from the Users screen.
  5. Open any Page, Post, Product, Product Category, or Custom Post Type and check “Protect this content” in the metabox / category screen, or use the bulk protection toggles in Settings.

Часта задаваныя пытанні

Does this replace the WordPress login?

No. WordPress admin login (wp-login.php) and the wp_users table are completely untouched. This plugin manages its own separate set of users and sessions purely for gating front-end content.

Does it work with WooCommerce and Elementor?

Yes. Product pages, product categories, and the shop page can be protected, and the login templates render independently of page builders so there are no layout conflicts.

Водгукі

Excellent Private Content Protection Plugin

msaad12 24 ліпеня, 2026
Really impressed with this plugin. It was easy to set up, and I like that it uses its own login system instead of creating WordPress users. The content protection options are flexible, and the login page is easy to customize to match the site’s branding. It works smoothly with WooCommerce and Elementor, and the extra security features are a nice bonus. Overall, it’s a reliable plugin that does exactly what it promises. Highly recommended!
Чытаць 1 водгук

Удзельнікі і распрацоўшчыкі

“Private Content Login Protector” з’яўляецца праграмным забеспячэннем з адкрытым зыходным кодам. Наступныя людзі ўнеслі свой уклад у гэты плагін.

Удзельнікі
  • Abdul Rafay Ul Haque

Перакласці “Private Content Login Protector” на вашу мову.

Зацікаўлены ў распрацоўцы?

Праглядзіце код, праверце SVN рэпазітарый, або падпішыцеся на журнал распрацоўкі па RSS.

Журнал змяненняў

1.2.0

  • Removed: the Custom CSS field has been removed entirely (settings UI, storage, and output). All other design options (colors, logo, background image, border radius, font, card width) are unaffected. Any Custom CSS value saved by a previous version is automatically cleared from the database.
  • Added: prefixed shortcode aliases [pclp_login], [pclp_logout], and [pclp_current_user], registered alongside the existing [private_login], [private_logout], and [current_private_user] shortcodes (which continue to work unchanged).
  • Confirmed: every plugin-owned function, class, constant, option, hook, and meta key already uses a unique Pclp/pclp_/PCLP_ prefix or namespace.

1.1.1

  • Hardened: Custom CSS is now sanitized with a dedicated, stricter routine (tag/</style>-breakout stripping, legacy CSS script-vector removal) both when saved and again at output time.
  • Hardened: Settings JSON import and Users CSV import now verify the actual uploaded file type (not just the client-supplied file name/extension) before processing.
  • Hardened: imported settings JSON is now whitelisted and re-sanitized field-by-field instead of being merged in as-is, so an import can never introduce unexpected option keys or unsanitized values.
  • Hardened: CSV user export now neutralizes cells that could be interpreted as spreadsheet formulas (CSV/formula injection protection) when opened in Excel/Sheets/etc.
  • Improved: minor output-escaping consistency pass across the admin Users screen.

1.1.0

  • Fixed: protected Product Category archives now correctly redirect guests to the custom login page and return them to the same category after login. The old URL builder could produce a link whose path didn’t match its query string under certain permalink setups (this is what caused the login screen to sometimes not appear at all); auth URLs are now built explicitly per action and work under both pretty permalinks and plain “?query-string” permalinks.
  • Added: individual (per-item) protection via searchable, AJAX-backed multi-select fields for Products, Product Categories, Pages, Posts, and any Custom Post Type — usable independently of, or together with, the existing bulk “Protect all…” toggles. Selections can be edited later from the same screen.
  • Added: Product Tag archives can now also be protected (term-level checkbox on the Tags screen, same as Product Categories).
  • Added: protected products/pages/posts are now excluded from front-end search results for logged-out guests instead of leaving them fully searchable.
  • Added: protected pages/templates are no longer served from page caches — a protected response now sends no-cache headers and sets DONOTCACHEPAGE.
  • Added: rewrite rules automatically re-flush after a plugin update, so the pretty-permalink login URL never goes stale.
  • Added: Elementor editor/preview mode is no longer redirected away from protected content, so templates can still be edited normally.
  • Improved: dashboard “Protected” counts now include individually-selected items, not just the per-item checkbox.

1.0.0

  • Initial release.

Мета

  • Версія 1.2.0
  • Апошняе абнаўленне 4 тыдні таму
  • Актыўных установак Менш за 10
  • Версія WordPress 5.8 або вышэй
  • Правераны да версіі 7.0.4
  • Версія PHP 7.4 або вышэй
  • Мова
    English (US)
  • Тэгі
    content-protectionloginmembershiprestrict contentwoocommerce
  • Пашыраны прагляд

Ацэнкі

5 з 5 зорак.
  • 1 5-star review 5 зорак 1
  • 0 4-star reviews 4 зоркі 0
  • 0 3-star reviews 3 зоркі 0
  • 0 2-star reviews 2 зоркі 0
  • 0 1-star reviews 1 зорка 0

Ваш водгук

Паглядзець усе водгукі

Удзельнікі

  • Abdul Rafay Ul Haque

Падтрымка

Ёсць што сказаць? Патрэбна дапамога?

Перайсці да форуму падтрымкі

  • Пра нас
  • Навіны
  • Хостынг
  • Прыватнасць
  • Вітрына
  • Тэмы
  • Плагіны
  • Патэрны
  • Навучанне
  • Падтрымка
  • Распрацоўнікі
  • WordPress.tv ↗
  • Далучыцца
  • Падзеі
  • Падтрымаць ↗
  • Сувеніры ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Беларуская мова

  • Наведайце нас у X (былы Twitter)
  • Наведайце нас у Bluesky
  • Наведайце нас у Mastodon
  • Наведайце нас у Threads
  • Наведайце нашу старонку Facebook
  • Наведайце нас у Instagram
  • Наведайце нас у LinkedIn
  • Наведайце нас у TikTok
  • Наведайце наш YouTube канал
  • Наведайце нас у Tumblr
Код – гэта паэзія.
The WordPress® trademark is the intellectual property of the WordPress Foundation.