跳到内容

User Access Shortcodes

v2.3

WP Darko · 2014年11月22日 上架

The simplest way of controlling who sees what in your posts/pages. Restrict content to logged in users only (or guests, or by roles) with simple short …

正在使用
1,000+
评分
4.9 / 5
累计下载
2.5 万
最近更新
2026年1月30日
13 条评价需要 WordPress 3.6+已测试到 6.9.12

贡献者

截图

Simple, hassle-free content restrictions
Simple, hassle-free content restrictions

This is the simplest way of controlling who sees what in your posts/pages. This plugin allows you to restrict content to logged in users only (or guests, or by roles) with simple shortcodes. What you see is what you get, and it’s totally free.

Usage

Show content only for Guests

[UAS_guest]
This content can only be seen by guests.
[/UAS_guest]

Show content only for Registered/Logged in users

[UAS_loggedin]
This content can only be seen by logged in users.
[/UAS_loggedin]

Show content ony for specific roles

[UAS_role roles="administrator, editor"]
This content can only be seen by administrators and editors.
[/UAS_role]

Show content ony for specific users

[UAS_specific ids="23, 127"]
This content can only be seen by users with IDs 23 and 127.
[/UAS_specific]

Several extra parameters are available, please go to the plugin’s documentation if you need more information on how to use this plugin.

Support

Find help on our support platform for this plugin (we’ll answer you fast, promise).

Plums

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

导航

说明

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

© 2026 Plums