{"id":39865,"date":"2015-11-03T18:33:31","date_gmt":"2015-11-03T18:33:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/swh-users-only\/"},"modified":"2015-11-03T20:12:27","modified_gmt":"2015-11-03T20:12:27","slug":"swh-users-only","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/swh-users-only\/","author":14658993,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"1.0","tested":"4.3.34","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"SWH Users Only","header_author":"Sina Saeedi","header_description":"","assets_banners_color":"","last_updated":"2015-11-03 20:12:27","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/sinawebhost.ir\/donate\/","header_plugin_uri":"http:\/\/SinaWebHost.ir\/plugins\/swh-users-only\/","header_author_uri":"http:\/\/SinaSaeedi.ir\/","rating":5,"author_block_rating":0,"active_installs":0,"downloads":724,"num_ratings":0,"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":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1911,80,59789,59790],"plugin_category":[43],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-39865","plugin","type-plugin","status-closed","hentry","plugin_tags-access","plugin_tags-shortcode","plugin_tags-swh","plugin_tags-swhplugins","plugin_category-customization","plugin_committers-swhplugins"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/swh-users-only.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Using this plugin, you can use this shortcodes into your content to protect them from non logged in users:<\/p>\n <ul>\n<li><p><strong>Text:<\/strong>\nWhen you want to hide some parts of the content<\/p>\n <p>[swh-users-only] Hello World! [\/swh-users-only]<\/p><\/li>\n<li><p><strong>Image:<\/strong>\nWhen an image is related to your users and you have to restrict it's access<\/p>\n <p>[swh-users-only]  [\/swh-users-only]<\/p><\/li>\n<li><p><strong>Shortcode:<\/strong>\nWhen it's important that a contact form and it's file uploader only be filled by users<\/p>\n <p>[swh-users-only] [contact-form-7 id=\"1234\" title=\"Contact form 1\"] [\/swh-users-only]<\/p><\/li>\n<li><p><strong>HTML:<\/strong>\nWhen a download link have to be shown only to registered users<\/p>\n <p>[swh-users-only] <a href=\"file.zip\">Download File<\/a> [\/swh-users-only]<\/p><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>swh-users-only.zip<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Extract .zip file<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress<\/li>\n<li>Place <code>[swh-users-only] [\/swh-users-only]<\/code> in every content you like, ex: Post, Page, Custom Post Type<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>Is this plugin works in custom post type?<\/h4>\n <p>Yes, It works in Posts, Pages and Custom Post Types<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n <p><em>Release Date - 3th Nov, 2015<\/em><\/p>\n <ul>\n<li>First initial release<\/li>\n<\/ul>","raw_excerpt":"SWH Users Only allows you to hide some parts of your content from not logged in users using shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/39865","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=39865"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/swhplugins"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=39865"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=39865"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=39865"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=39865"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=39865"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=39865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}