Get started with the User Access Shortcodes plugin

How does it work?

In order to define who sees what in your Posts/Pages and custom types you will need to use the below shortcodes. The following examples shows you how to use the plugin on your site, you can copy paste the code and adjust the parameters to your liking.

Show content only for Guests

[UAS_guest hint="" in="" admin="1"]
This content can only be seen by guests.
[/UAS_guest]
  • hint (ANY TEXT) – Just a note, can be anything you want.
  • in(COMMA SEPARATED USER IDS) = include users by ID.
  • admin(0 OR 1) – Can the admin see the content?

Show content only for Registered/Logged in users

[UAS_loggedin hint="" ex=""]
This content can only be seen by logged in users.
[/UAS_loggedin]
  • hint (ANY TEXT) – Just a note, can be anything you want.
  • ex (COMMA SEPARATED USER IDS) = exclude users by ID.

Show content ony for specific users

[UAS_specific hint="" ids="" admin="1"]
This content can only be seen by some selected users.
[/UAS_specific]
  • hint (ANY TEXT) – Just a note, can be anything you want.
  • ids (COMMA SEPARATED USER IDS) = specify users by ID.
  • admin (0 OR 1) – Can the admin see the content?

Get more help

If you need more help, please submit a request, we’ll help you.