Title: Role Content Restriction
Author: Imprevo
Published: <strong>2016 年 2 月 4 日</strong>
Last modified: 2016 年 8 月 18 日

---

搜索插件

![](https://ps.w.org/role-content-restriction/assets/banner-772x250.png?rev=1477939)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/role-content-restriction_1894ae.svg)

# Role Content Restriction

 作者：[Imprevo](https://profiles.wordpress.org/imprevo/)

[下载](https://downloads.wordpress.org/plugin/role-content-restriction.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/role-content-restriction/#description)
 * [评价](https://cn.wordpress.org/plugins/role-content-restriction/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/role-content-restriction/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/role-content-restriction/#developers)

 [支持](https://wordpress.org/support/plugin/role-content-restriction/)

## 描述

This plugin restricts access to default and custom post types based on user roles.
The plugin displays a custom message to those who do not have access to view the
content.

For reporting bugs, getting support or feature suggestion, please click the link
below:
 http://www.imprevo.net/

## 屏幕截图

[[

[[

[[

## 安装

 1. Upload ‘role-content-restriction’ to the ‘/wp-content/plugins/’ directory
 2. 通过WordPress的的“Plugins”菜单激活插件
 3. Select restriction options when creating a post or a page.

## 常见问题

Q: Can I restrict only a single page or post?

A: Yes, you can add restirction to individual pages, posts or custom post types.

## 评价

![](https://secure.gravatar.com/avatar/a526314f1d191dcc60ace427f99bc671235e29cfaff2222278f37d935005c19a?
s=60&d=retro&r=g)

### 󠀁[Simple but excellent](https://wordpress.org/support/topic/simple-but-excellent-3/)󠁿

 [dtommy79](https://profiles.wordpress.org/dtommy79/) 2016 年 9 月 3 日

It’s a simple but effective plugin. It does what it’s supposed to do. I’d like to
see a redirection option, though. So the plugin redirects people with insufficient
privileges to a page and not just display a message to them.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/role-content-restriction/reviews/)

## 贡献者及开发者

「Role Content Restriction」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Imprevo ](https://profiles.wordpress.org/imprevo/)

[帮助将「Role Content Restriction」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/role-content-restriction)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/role-content-restriction/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/role-content-restriction/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/role-content-restriction/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/role-content-restriction/)。

## 更新日志

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**10 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **4.6.30**
 *  语言
 * [English (US)](https://wordpress.org/plugins/role-content-restriction/)
 * 标签
 * [access](https://cn.wordpress.org/plugins/tags/access/)[content restriction](https://cn.wordpress.org/plugins/tags/content-restriction/)
   [member only](https://cn.wordpress.org/plugins/tags/member-only/)[restrict](https://cn.wordpress.org/plugins/tags/restrict/)
   [restricted access](https://cn.wordpress.org/plugins/tags/restricted-access/)
 *  [高级视图](https://cn.wordpress.org/plugins/role-content-restriction/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/role-content-restriction/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/role-content-restriction/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/role-content-restriction/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/role-content-restriction/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/role-content-restriction/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/role-content-restriction/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/role-content-restriction/reviews/)

## 贡献者

 *   [ Imprevo ](https://profiles.wordpress.org/imprevo/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/role-content-restriction/)