Title: User Access Shortcodes
Author: WP Darko
Published: <strong>22 лістапада, 2014</strong>
Last modified: 29 студзеня, 2026

---

Пошук плагінаў

![](https://ps.w.org/user-access-shortcodes/assets/banner-772x250.png?rev=2396607)

![](https://ps.w.org/user-access-shortcodes/assets/icon-256x256.png?rev=2396607)

# User Access Shortcodes

 Аўтар: [WP Darko](https://profiles.wordpress.org/spwebguy/)

[Спампаваць](https://downloads.wordpress.org/plugin/user-access-shortcodes.2.3.zip)

 * [Падрабязнасці](https://bel.wordpress.org/plugins/user-access-shortcodes/#description)
 * [Водгукі](https://bel.wordpress.org/plugins/user-access-shortcodes/#reviews)
 *  [Ўсталёўка](https://bel.wordpress.org/plugins/user-access-shortcodes/#installation)
 * [Распрацоўка](https://bel.wordpress.org/plugins/user-access-shortcodes/#developers)

 [Падтрымка](https://wordpress.org/support/plugin/user-access-shortcodes/)

## Апісанне

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.

#### Выкарыстанне

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](https://wpdarko.com/support/get-started-with-the-user-access-shortcodes-plugin/)
if you need more information on how to use this plugin.

#### Падтрымка

Find help on [our support platform](https://wpdarko.com/support) for this plugin(
we’ll answer you fast, promise).

## Screenshots

 * [[
 * Simple, hassle-free content restrictions

## Ўсталёўка

#### Installation

 1. In your WordPress admin panel, go to Plugins > New Plugin
 2. Find our Responsive Tabs plugin by WP Darko and click Install now
 3. Alternatively, download the plugin and upload the contents of user-access-shortcodes.
    zip to your plugins directory, which usually is /wp-content/plugins/
 4. Activate the plugin

#### Выкарыстанне

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](https://wpdarko.com/support/get-started-with-the-user-access-shortcodes-plugin/)
for information on how to use it.

## Часта задаваныя пытанні

### How to use the plugin

If you are using the [Classic Editor](https://wordpress.org/plugins/classic-editor/)
you should see a new icon added to your toolbar, you can use it to insert shortcodes
in your post/pages.
 If you are using a page builder, please use the shortcodes 
above in your content directly.

Several extra parameters are available, please go to [the plugin’s documentation](https://wpdarko.com/support/get-started-with-the-user-access-shortcodes-plugin/)
if you need more information on how to use this plugin.

### Падтрымка

Find help on [our support platform](https://wpdarko.com/support) for this plugin(
we’ll answer you fast, promise).

## Водгукі

![](https://secure.gravatar.com/avatar/eca02f5b52c273e3a72145efde38a5925f44160cf17e7f3d2d5cb0786970ef85?
s=60&d=retro&r=g)

### 󠀁[Simple and Obvious](https://wordpress.org/support/topic/simple-and-obvious/)󠁿

 [ignorance](https://profiles.wordpress.org/ignorance/) 3 сакавіка, 2025 1 reply

This plugin is great. The only thing I’m surprised by is that this sort of functionality
wasn’t built into Wordpress. Thanks for the simple, clean plugin!

![](https://secure.gravatar.com/avatar/9951b8075158948825743d44f46c7108908b0e75a779b553705a51d770dcac91?
s=60&d=retro&r=g)

### 󠀁[No fluff, all functionality](https://wordpress.org/support/topic/no-fluff-all-functionality/)󠁿

 [SomniumLucidus](https://profiles.wordpress.org/somniumlucidus/) 29 верасня, 2023

Just what I needed. Non-logged-in visitors: you can’t see this. That’s all. As I
often say, sometimes you are just in dire need of a simple and to the point plugin.

![](https://secure.gravatar.com/avatar/4608abe3c05d9002b1dbd26037ae2d0739e55b8f93219ea10c4685c2971f12f5?
s=60&d=retro&r=g)

### 󠀁[Useful Plugin](https://wordpress.org/support/topic/useful-plugin-873/)󠁿

 [kwenky](https://profiles.wordpress.org/kwenky/) 11 красавіка, 2022

Thanks for created this plugin

![](https://secure.gravatar.com/avatar/e7bc08d3a8aecbd6f0ef783c0187f1a9f4cb8721f2d4e3c59331322d125b84b8?
s=60&d=retro&r=g)

### 󠀁[Thanks for sharing](https://wordpress.org/support/topic/thanks-for-sharing-11/)󠁿

 [oc1ober](https://profiles.wordpress.org/oc1ober/) 13 сакавіка, 2021

Very good and right what I need … To facilitate management should create: 1, Create
a button to open the Form specifies the right to view the post or the page (at the
bottom of the post or page) and will only show up when the Admin login. 2, If no
group or member is selected, everyone can view by default. 3, Options will not affect
the permissions of the group and the Admin member.

![](https://secure.gravatar.com/avatar/ef5b9160f607e30dcee8d4a61bc8869bd880e4dbfe0cf86c2e6a19fe2250554b?
s=60&d=retro&r=g)

### 󠀁[Quick, easy install and works as expected](https://wordpress.org/support/topic/quick-easy-install-and-works-as-expected/)󠁿

 [stoodlee](https://profiles.wordpress.org/stoodlee/) 28 лютага, 2021 1 reply

Using on WP 5.6.2 PHP 7.4

![](https://secure.gravatar.com/avatar/40ccf893f559e069e3df85ac3f5bd3a4c3147ca3a173eb0b665d5b8981c5e5bf?
s=60&d=retro&r=g)

### 󠀁[Nice plugin](https://wordpress.org/support/topic/nice-plugin-3803/)󠁿

 [nayon129250](https://profiles.wordpress.org/nayon129250/) 6 жніўня, 2020

Working fine

 [ Чытаць усе 13 водгукаў ](https://wordpress.org/support/plugin/user-access-shortcodes/reviews/)

## Удзельнікі і распрацоўшчыкі

“User Access Shortcodes” is open source software. The following people have contributed
to this plugin.

Удзельнікі

 *   [ WP Darko ](https://profiles.wordpress.org/spwebguy/)

[Перакласці “User Access Shortcodes” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/user-access-shortcodes)

### Зацікаўлены ў распрацоўцы?

[Праглядзіце код](https://plugins.trac.wordpress.org/browser/user-access-shortcodes/),
праверце [SVN рэпазітарый](https://plugins.svn.wordpress.org/user-access-shortcodes/),
або падпішыцеся на [журнал распрацоўкі](https://plugins.trac.wordpress.org/log/user-access-shortcodes/)
па [RSS](https://plugins.trac.wordpress.org/log/user-access-shortcodes/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змяненняў

#### 2.3

 * Added inverse parameter to allow hide the content in specific cases

#### 2.2

 * Added show/hide content for specific roles
 * Simplified usage

#### 2.1.1

 * Fixed nested shortcode issue

#### 2.1

 * Better shortcode support (nested)

#### 2.0

 * Added new minor features
 * Can show/hide content for users by ID

#### 1.3

 * Nested shortcodes support

#### 1.2

 * Minor fixes

#### 1.1

 * Minor bug fix

#### 1.0

 * Initial release (yay!)

## Мета

 *  Версія **2.3**
 *  Апошняе абнаўленне **4 месяцы таму**
 *  Актыўных установак **1 000+**
 *  Версія WordPress ** 3.6 або вышэй **
 *  Правераны да версіі **6.9.4**
 *  Мова
 * [English (US)](https://wordpress.org/plugins/user-access-shortcodes/)
 * Тэгі
 * [logged](https://bel.wordpress.org/plugins/tags/logged/)[logged in](https://bel.wordpress.org/plugins/tags/logged-in/)
   [user](https://bel.wordpress.org/plugins/tags/user/)[users](https://bel.wordpress.org/plugins/tags/users/)
 *  [Пашыраны прагляд](https://bel.wordpress.org/plugins/user-access-shortcodes/advanced/)

## Ацэнкі

 4.9 з 5 зорак.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/user-access-shortcodes/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/user-access-shortcodes/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/user-access-shortcodes/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/user-access-shortcodes/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/user-access-shortcodes/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/user-access-shortcodes/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/user-access-shortcodes/reviews/)

## Удзельнікі

 *   [ WP Darko ](https://profiles.wordpress.org/spwebguy/)

## Падтрымка

Ёсць што сказаць? Патрэбна дапамога?

 [Перайсці да форуму падтрымкі](https://wordpress.org/support/plugin/user-access-shortcodes/)