Home Plugins user access shortcodes
User Access Shortcodes logo

User Access Shortcodes

by WP Darko on WordPress.org

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 …

(13)
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).

Active installations2K+
Weekly downloads
22-35.29%
Version2.3
Last updated1/29/2026
WordPress version3.6
Tested up to6.5.5
Tags
accessloggedlogged inuserusers