Description
This plugin protects pages and categories with login using a shortcode.
For page protection add a shortcode on the content and it will be prompted to login in order to view the content. After login user will be redirected to the requested page.
For category protection add a shortcode on the cetgory description and it will be prompted to login in order to view the category contents. After login user will be redirected to the requested category page.
You may also want to display a certain category or page depending on the user’s roles. In the case of pages the content displayed will be replaced with the text “NOT ALLOWED”, while in the case of categories the user who does not have the indicated role will be redirected to the homepage.
Translations
- English – default, always included
- Italiano – sempre incluso
Note: Feel free to translate this plugin in your language. This is very important for all users worldwide. So please contribute your language to the plugin to make it even more useful. For translating I recommend the “Poedit Editor”.