跳到内容

Restrict Anonymous Access

v1.3

Christian 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+

截图

Inserted the shortcode in WordPress content editor.
Inserted the shortcode in WordPress content editor.
Front-end view with anonymous user, content is hidden and info message shown instead.
Front-end view with anonymous user, content is hidden and info message shown instead.
Front-end view with logged-in user, content is shown.
Front-end view with logged-in user, content is shown.

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

Plums

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

导航

说明

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

© 2026 Plums