
Restrict Anonymous Access
v1.3Christian Leuenberg · 2017年6月9日 上架
Adds a shortcode to restrict content from anonymous users.
- 正在使用
- 70+
- 评分
- 5.0 / 5
- 累计下载
- 4,195
- 最近更新
- 2026年11月2日
3 条评价需要 WordPress 5.9+已测试到 7.1.5PHP 7.4+
截图
This plugin helps you to hide certain parts of your content like a paragraph or an image etc. to logged-out users or users of any other role with just a simple shortcode.
Customize the shortcode in order to display a special note to your users, apply custom CSS classes for your own design or hide the restricted parts completely.
Features:
- text within shortcode
[member][/member]is not visible to anonymous users - hide content based on user roles (subscriber, contributor, author, editor, admin)
- restricted text can be replaced with info text box
- info text can be customized
- comes with a handy TinyMCE button for quick access


