User Access Shortcodes

plugin banner

The most simple way of controlling who sees what on your website. Restrict content to logged in users only (or guests) with a simple shortcode.

Author:WP Darko (profile at wordpress.org)
WordPress version required:3.6
WordPress version tested:5.8
Plugin version:2.3
Added to WordPress repository:22-11-2014
Last updated:03-08-2021
Rating, %:98
Rated by:10
Plugin URI:https://wpdarko.com/support/get-started-with-...
Total downloads:17 256
Active installs:2 000+
plugin download
Click to start download

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


Screenshots
FAQ
ChangeLog