Saltar al contenido
WordPress.org

España

  • Temas
  • Plugins
  • Noticias
    • Documentación
    • Foros
  • Acerca de
  • Patrones
  • Eventos
    • Equipo
    • Manuales
  • Consigue WordPress
Consigue WordPress
WordPress.org

Plugin Directory

Private Content Login Protector

  • Envía un plugin
  • Mis favoritos
  • Acceder
  • Envía un plugin
  • Mis favoritos
  • Acceder

Private Content Login Protector

Por Abdul Rafay Ul Haque
Descargar
  • Detalles
  • Valoraciones
  • Instalación
  • Desarrollo
Soporte

Descripción

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

Capturas

Instalación

  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.

FAQ

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.

Reseñas

Excellent Private Content Protection Plugin

msaad12 24 de julio de 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!
Leer la 1 reseña

Colaboradores y desarrolladores

«Private Content Login Protector» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores
  • Abdul Rafay Ul Haque

Traduce «Private Content Login Protector» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

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.

Meta

  • Versión 1.2.0
  • Última actualización hace 1 mes
  • Instalaciones activas Menos de 10
  • Versión de WordPress 5.8 o superior
  • Probado hasta 7.0.4
  • Versión de PHP 7.4 o superior
  • Idioma
    English (US)
  • Etiquetas:
    content-protectionloginmembershiprestrict contentwoocommerce
  • Vista avanzada

Valoraciones

5 de 5 estrellas.
  • 1 valoración de 5 estrellas 5 estrellas 1
  • 0 valoraciones de 4 estrellas 4 estrellas 0
  • 0 valoraciones de 3 estrellas 3 estrellas 0
  • 0 valoraciones de 2 estrellas 2 estrellas 0
  • 0 valoraciones de 1 estrellas 1 estrella 0

Tu valoración

Ver todas las reseñas

Colaboradores

  • Abdul Rafay Ul Haque

Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

Ver el foro de soporte

  • Acerca de
  • Noticias
  • Alojamiento
  • Privacidad
  • Escaparate
  • Temas
  • Plugins
  • Patrones
  • Aprender
  • Soporte
  • Desarrolladores
  • WordPress.tv ↗
  • Involúcrate
  • Eventos
  • Donar ↗
  • Regalos ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

España

  • Visita nuestra cuenta de X (anteriormente Twitter)
  • Visita nuestra cuenta de Bluesky
  • Visita nuestra cuenta de Mastodon
  • Visita nuestra cuenta de Threads
  • Visita nuestra página de Facebook
  • Visita nuestra cuenta de Instagram
  • Visita nuestra cuenta de LinkedIn
  • Visita nuestra cuenta de TikTok
  • Visita nuestro canal de YouTube
  • Visita nuestra cuenta de Tumblr
El código es poesía.
The WordPress® trademark is the intellectual property of the WordPress Foundation.