WordPress send non-logged in users to 404 page when they try to access post, page, or cpt without rights.
This plugin redirects those users to the login page.
After login the user is then redirected back to the post, page, or cpt they were trying to access...
Upload the entire lh-private-content-login folder to the wp-content plugins directory..
Activate the plugin through 'Plugins WordPress...
Activate the plugin through 'Plugins WordPress...
To make sure users with role can 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 private posts and pages...
The following people have contributed to this plugin..
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Changelog 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...
Read more