WordPress.org

Galego

  • Temas
  • Plugins
  • Novas
  • Acerca de
  • Padróns
  • Colabora
  • Equipo
  • Meetups
  • Contacto
  • Homenaxes
  • Consigue WordPress
Consigue WordPress
WordPress.org

Plugin Directory

LH Private Content Login

  • Enviar un plugin
  • Os meus favoritos
  • Iniciar sesión
  • Enviar un plugin
  • Os meus favoritos
  • Iniciar sesión

Este plugin non se actualizou en máis de 2 anos. É posible que xa non sexa compatible ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con novas versións de WordPress.

LH Private Content Login

Por shawfactor
Descargar
  • Detalles
  • Valoracións
  • Instalación
  • Desenvolvemento
Soporte

Descrición

Do you post private content? Are you sending those links to your users with private content access?

WordPress natively send non-logged in users to a 404 (content not found) page when they try to access a post, page, or cpt without rights. This plugin redirects those users to the login page. After successful login the user is then redirected back to the post, page, or cpt they were trying to access.

Like this plugin? Please consider leaving a 5-star review.

Love this plugin or want to help the LocalHero Project? Please consider making a donation.

Instalación

  1. Upload the entire lh-private-content-login folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Preguntas frecuentes

What is something does not work?

LH Private Content Login, and all https://lhero.org plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch to one of the themes that come with core, e.g. twentyfifteen, twentysixteen etc.

If the problem persists pleasse leave a post in the support forum: https://wordpress.org/support/plugin/lh-private-content-login/ . I look there regularly and resolve most queries.

What if I need an enhancement or feature that is not in the plugin?

Please contact me for custom work and enhancements here: https://shawfactor.com/contact/

How do I change the text explaing the need to login?

Currently if a visitor tries to access content that is private the visitor is redirected to the login page and the message: “This content is private you will need to login and have appropriate access.” is displayed. This string itself is fully translatable but translations files are not icluded in the plugin itself. You can translate or modify the entire message (including the html) directly using the “lh_private_content_login_display_login_message” filter.

Comentarios

Excellent

321abc 26 de Xuño, 2021
Best private page to login redirect.

It works!

richardlm57 22 de Abril, 2019 1 resposta
I gave it a lower rating before, but as its developer mentioned, the real culprit was another plugin that was crashing with this. My apologies for my previous rating, and thanks for your suggest.

Perfect

valym777 14 de Abril, 2019
THIS is exactly what I was looking for. It works perfectly. Thank you SO much for your plugin contribution, this is what makes the WordPress community awesome! Note to others: Once plugin is enabled, simply change any of your preferred posts/pages visibility to “private” and you’re done. Only those that log in will be able to view that content.

Works as intended

ulikoehler 20 de Outubro, 2018
Just install and activate!

Works perfectly!

abooster 11 de Febreiro, 2017
Works perfectly with WordPress 4.7.2. To make sure users with subscriber role can actually read your private content follow the instructions here: https://www.lifewire.com/letting-subscribers-view-private-wordpress-blog-756532 because by default only Administrators and Editors can see private posts and pages.
Ler todas as 5 opinións

Colaboradores e desenvolvedores

“LH Private Content Login” é un software de código aberto. As seguintes persoas colaboraron con este plugin.

Colaboradores
  • shawfactor

“LH Private Content Login” foi traducido a 1 idioma. Grazas aos desenvolvedores polas súas contribucións.

Traduce “LH Private Content Login” ao teu idioma.

Interesado no desenvolvemento?

Revisa o código, bota unha ollada aorepositorio SVN, ou subscríbete ao log de desenvolvemento por RSS.

Rexistro de cambios

1.00 January 22, 2017
* Initial release

1.01 March 03, 2017
* Added preview login functionality

1.02 July 25, 2017
* Added class check

1.03 March 04, 2018
* Singleton pattern implemented

1.00 September 04, 2020
* Moved hooks to plugins loaded added login message

1.05 January 11, 2024
* Better translation support

1.06 February 25, 2024
* Added login message filter and attachment handling

Meta

  • Versión 1.05
  • Última actualización Fai 1 ano
  • Instalacións activas 300+
  • Versión de WordPress 5.0 ou superior
  • Probado ata 6.4.5
  • Idiomas

    English (US) e Portuguese (Portugal).

    Traduce ao teu idioma

  • Etiquetas
    loginpost statusprivate contentredirectionstatus
  • Vista avanzada

Valoracións

5 de 5 estrelas
  • Valoración de 5 5 estrelas 5 estrelas 5
  • Valoración de 0 4 estrelas 4 estrelas 0
  • Valoración de 0 3 estrelas 3 estrelas 0
  • Valoración de 0 2 estrelas 2 estrelas 0
  • Valoración de 0 1 estrelas 1 estrela 0

Engadir a miña recensión

Ver todas as valoracións

Colaboradores

  • shawfactor

Soporte

Tes algo que dicir? Necesitas axuda?

Ver o foro de soporte

Doar

Queres apoiar o progreso deste plugin?

Dona a este plugin

  • Acerca de
  • Novas
  • Aloxamento
  • Privacidade
  • Escaparate
  • Temas
  • Plugins
  • Padróns
  • Aprender
  • Soporte
  • Desenvolvedores
  • WordPress.TV ↗
  • Involúcrate
  • Eventos
  • Doar ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Galego

  • Visita la cuenta de X (anteriormente Twitter)
  • Visita a nosa conta de Bluesky
  • Visita a nosa conta de Mastodon
  • Visita a nosa conta de Threads
  • Visita a nosa páxina de Facebook
  • Visita a nosa conta de Instagram
  • Visita a nosa conta de LinkedIn
  • Visita a nosa conta de TikTok
  • Visita a nosa canle de YouTube
  • Visita a nosa conta de Tumblr
O código é poesía.