{"id":34799,"date":"2015-03-01T18:15:57","date_gmt":"2015-03-01T18:15:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/members-restricted-access\/"},"modified":"2016-03-03T14:59:09","modified_gmt":"2016-03-03T14:59:09","slug":"members-restricted-access","status":"publish","type":"plugin","link":"https:\/\/cs.wordpress.org\/plugins\/members-restricted-access\/","author":14007014,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.0","stable_tag":"3.0","tested":"4.4.34","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Members Restricted Access","header_author":"Manuel Costales","header_description":"","assets_banners_color":"ffffff","last_updated":"2016-03-03 14:59:09","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=VWWTUHZWRS4DG","header_plugin_uri":"http:\/\/www.jumptoweb.com","header_author_uri":"http:\/\/www.manuelcostales.com","rating":5,"author_block_rating":0,"active_installs":100,"downloads":7075,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"4"},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1122296","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1122296","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","2.0","2.1","3.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1919,42734,7668,1502],"plugin_category":[58],"plugin_contributors":[82021],"plugin_business_model":[],"class_list":["post-34799","plugin","type-plugin","status-publish","hentry","plugin_tags-members","plugin_tags-restric-by-role","plugin_tags-restrict-access","plugin_tags-visitor","plugin_category-user-management","plugin_contributors-mcostales84","plugin_committers-mcostales84"],"banners":{"banner":"https:\/\/ps.w.org\/members-restricted-access\/assets\/banner-772x250.png?rev=1122296","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/members-restricted-access\/assets\/icon-256x256.png?rev=1122296","icon_2x":"https:\/\/ps.w.org\/members-restricted-access\/assets\/icon-256x256.png?rev=1122296","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin create shortcodes to restrict the access to Visitors, Members or specific role. You can create sections in your page\/post only visible to members (logged users), visitors or for an specific role.<\/p>\n\n<p>To use you need to create the content and wrap it with these shortcodes: [visitor], [member] or [showifrole].<\/p>\n\n<ul>\n<li>You can use the parameters 'is' and 'msg'. If you not specify them, the default value will be use instead.<\/li>\n<li>The paramater 'is' is use it with the shortcode [showifrole] to check for that specific user. The default value is 'administrator'.<\/li>\n<li>And 'msg' is the message the system is going to show. You can use html code with single apostrophes ('). The default value is null.<\/li>\n<\/ul>\n\n<p>Examples:<\/p>\n\n<p>'[visitor]\n   content only visible to visitors\n[\/visitor]<\/p>\n\n<p>[member msg=\"You need to <a href='\/wp-login'>Login<\/a> to see this content.\"]\n   content only visible to members\n[\/member]<\/p>\n\n<p>[showifrole is=administrator]\n   content only visible for administrators\n[\/showifrole]<\/p>\n\n<p>[showifrole is=author msg=\"You don't have the required role.\"]\n   content only visible for authors\n[showifrole]'<\/p>\n\n<!--section=installation-->\n<p>To install this plugin just follow the standard procedure.<\/p>\n\n<p>or<\/p>\n\n<ol>\n<li>Upload <code>members-restricted-access.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Any question?<\/dt>\n<dd><p>Send me an email at mcostales@jumptoweb.com and I will answer you as soon as I can.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.0<\/h4>\n\n<ul>\n<li>Now you can use nested shortcodes, so you can use a any shortcode inside our shortcode verification.<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>Add the parameters for message in the members, visitors and showifrole shortcodes.<\/li>\n<li>Add a default value for 'is' and 'msg'.<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Added the shortcode to check by role.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Just launch the plugin!<\/li>\n<\/ul>","raw_excerpt":"This plugin creates shortcodes to restrict the access to users (visitors, members or by an specific role). You can also add a shortcode and use nested &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/34799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=34799"}],"author":[{"embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mcostales84"}],"wp:attachment":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=34799"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=34799"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=34799"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=34799"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=34799"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=34799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}