Found Image http://plugins.svn.wordpress.org/lh-private-content-login/assets/icon-256x256.png LH Private Content Login | Plugin Review Network Skip to Content

Plugin Review Network

Plugin Review Network

an eye on the best wordpress plugins
Show Sidebar Hide Sidebar
[+] Sidebar [-] Sidebar
Plugin:
Rated:
100%
5 Stars (4 votes)

Home

WP.Org

ReadMe

Support
  • Author:
    Peter Shaw
Version: 1.03
Requires: WP 3.0
Last Updated:2219 days ago
Downloads:1997
Tags:
    login, post status, private content, redirection, status
Download Plugin Package

LH Private Content Login

Released on January 23, 2017.
Download Plugin Package

Version: 1.03

Redirects non-logged users to the login page when they follow a link to a post, page, or cpt which is protected by post status.

  • Description
  • FAQ
  • Changelog
  • Installation


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.

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.

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


  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.


 

Click here to cancel reply.

Click here to cancel reply.


*

*


Please copy the string mOXU6l to the field below:

Home | Sitemap | Contact
Network Skin Theme for BioShip by WordQuest
Password Reset
Please enter your e-mail address. You will receive a new password via e-mail.