跳到内容

Protect pages and categories with login

v1.3

Federico Rota · 2017年10月30日 上架

Protect pages and categories with login using a shortcode.

正在使用
100+
评分
5.0 / 5
累计下载
3,876
最近更新
2019年7月3日
3 条评价需要 WordPress 3.5.1+已测试到 5.1.29

贡献者

截图

Page shortcode.
Page shortcode.
Category shortcode.
Category shortcode.

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”.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums