{"id":33000,"date":"2014-11-22T01:04:27","date_gmt":"2014-11-22T01:04:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/user-access-shortcodes\/"},"modified":"2026-01-29T19:32:19","modified_gmt":"2026-01-29T19:32:19","slug":"user-access-shortcodes","status":"publish","type":"plugin","link":"https:\/\/am.wordpress.org\/plugins\/user-access-shortcodes\/","author":13858277,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.3","stable_tag":"2.3","tested":"6.9.4","requires":"3.6","requires_php":"","requires_plugins":null,"header_name":"User Access Shortcodes","header_author":"WP Darko","header_description":"","assets_banners_color":"82898a","last_updated":"2026-01-29 19:32:19","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wpdarko.com\/support\/get-started-with-the-user-access-shortcodes-plugin\/","header_author_uri":"http:\/\/wpdarko.com","rating":4.9,"author_block_rating":0,"active_installs":1000,"downloads":23507,"num_ratings":13,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"spwebguy","date":"2014-11-25 13:48:53"},"1.1":{"tag":"1.1","author":"spwebguy","date":"2014-11-27 08:55:25"},"1.2":{"tag":"1.2","author":"spwebguy","date":"2015-01-23 01:01:10"},"1.3":{"tag":"1.3","author":"spwebguy","date":"2015-06-07 06:10:06"},"1.3.1":{"tag":"1.3.1","author":"spwebguy","date":"2015-06-11 06:34:43"},"2.1":{"tag":"2.1","author":"spwebguy","date":"2016-12-08 11:42:04"},"2.1.1":{"tag":"2.1.1","author":"spwebguy","date":"2020-10-09 11:25:17"},"2.2":{"tag":"2.2","author":"spwebguy","date":"2021-06-07 11:01:03"},"2.3":{"tag":"2.3","author":"spwebguy","date":"2026-01-29 19:32:19"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":1,"5":12},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2396607,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2396607,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2396607,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.3.1","2.1","2.1.1","2.2","2.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2396607,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Simple, hassle-free content restrictions"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[248100,20650,2641,2153,1917],"plugin_category":[43,46],"plugin_contributors":[79068],"plugin_business_model":[],"class_list":["post-33000","plugin","type-plugin","status-publish","hentry","plugin_tags-access-shortcodes","plugin_tags-logged","plugin_tags-logged-in","plugin_tags-user","plugin_tags-users","plugin_category-customization","plugin_category-editor-and-writing","plugin_contributors-spwebguy","plugin_committers-spwebguy"],"banners":{"banner":"https:\/\/ps.w.org\/user-access-shortcodes\/assets\/banner-772x250.png?rev=2396607","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/user-access-shortcodes\/assets\/icon-128x128.png?rev=2396607","icon_2x":"https:\/\/ps.w.org\/user-access-shortcodes\/assets\/icon-256x256.png?rev=2396607","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/user-access-shortcodes\/assets\/screenshot-1.png?rev=2396607","caption":"Simple, hassle-free content restrictions"}],"raw_content":"<!--section=description-->\n<p>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\u2019s totally free.<\/p>\n\n<h4>Usage<\/h4>\n\nShow content only for Guests\n\n<pre><code>[UAS_guest]\nThis content can only be seen by guests.\n[\/UAS_guest]\n<\/code><\/pre>\n\nShow content only for Registered\/Logged in users\n\n<pre><code>[UAS_loggedin]\nThis content can only be seen by logged in users.\n[\/UAS_loggedin]\n<\/code><\/pre>\n\nShow content ony for specific roles\n\n<pre><code>[UAS_role roles=\"administrator, editor\"]\nThis content can only be seen by administrators and editors.\n[\/UAS_role]\n<\/code><\/pre>\n\nShow content ony for specific users\n\n<pre><code>[UAS_specific ids=\"23, 127\"]\nThis content can only be seen by users with IDs 23 and 127.\n[\/UAS_specific]\n<\/code><\/pre>\n\n<p>Several extra parameters are available, please go to <a href=\"https:\/\/wpdarko.com\/support\/get-started-with-the-user-access-shortcodes-plugin\/\">the plugin's documentation<\/a> if you need more information on how to use this plugin.<\/p>\n\n<h4>Support<\/h4>\n\n<p>Find help on <a href=\"https:\/\/wpdarko.com\/support\">our support platform<\/a> for this plugin (we\u2019ll answer you fast, promise).<\/p>\n\n<!--section=installation-->\n<h4>Installation<\/h4>\n\n<ol>\n<li>In your WordPress admin panel, go to Plugins &gt; New Plugin<\/li>\n<li>Find our Responsive Tabs plugin by WP Darko and click Install now<\/li>\n<li>Alternatively, download the plugin and upload the contents of user-access-shortcodes.zip to your plugins directory, which usually is \/wp-content\/plugins\/<\/li>\n<li>Activate the plugin<\/li>\n<\/ol>\n\n<h4>Usage<\/h4>\n\nShow content only for Guests\n\n<pre><code>[UAS_guest]\nThis content can only be seen by guests.\n[\/UAS_guest]\n<\/code><\/pre>\n\nShow content only for Registered\/Logged in users\n\n<pre><code>[UAS_loggedin]\nThis content can only be seen by logged in users.\n[\/UAS_loggedin]\n<\/code><\/pre>\n\nShow content ony for specific roles\n\n<pre><code>[UAS_role roles=\"administrator, editor\"]\nThis content can only be seen by administrators and editors.\n[\/UAS_role]\n<\/code><\/pre>\n\nShow content ony for specific users\n\n<pre><code>[UAS_specific ids=\"23, 127\"]\nThis content can only be seen by users with IDs 23 and 127.\n[\/UAS_specific]\n<\/code><\/pre>\n\n<p>Several extra parameters are available, please go to <a href=\"https:\/\/wpdarko.com\/support\/get-started-with-the-user-access-shortcodes-plugin\/\">the plugin's documentation<\/a> for information on how to use it.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20to%20use%20the%20plugin\"><h3>How to use the plugin<\/h3><\/dt>\n<dd><p>If you are using the <a href=\"https:\/\/wordpress.org\/plugins\/classic-editor\/\">Classic Editor<\/a> you should see a new icon added to your toolbar, you can use it to insert shortcodes in your post\/pages. \nIf you are using a page builder, please use the shortcodes above in your content directly.<\/p>\n\n<p>Several extra parameters are available, please go to <a href=\"https:\/\/wpdarko.com\/support\/get-started-with-the-user-access-shortcodes-plugin\/\">the plugin's documentation<\/a> if you need more information on how to use this plugin.<\/p><\/dd>\n<dt id=\"support\"><h3>Support<\/h3><\/dt>\n<dd><p>Find help on <a href=\"https:\/\/wpdarko.com\/support\">our support platform<\/a> for this plugin (we\u2019ll answer you fast, promise).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.3<\/h4>\n\n<ul>\n<li>Added inverse parameter to allow hide the content in specific cases<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>Added show\/hide content for specific roles<\/li>\n<li>Simplified usage<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Fixed nested shortcode issue<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>Better shortcode support (nested)<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Added new minor features<\/li>\n<li>Can show\/hide content for users by ID<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Nested shortcodes support<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Minor fixes<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Minor bug fix<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release (yay!)<\/li>\n<\/ul>","raw_excerpt":"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 &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/33000","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=33000"}],"author":[{"embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/spwebguy"}],"wp:attachment":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=33000"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=33000"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=33000"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=33000"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=33000"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=33000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}