{"id":48888,"date":"2016-06-10T00:36:46","date_gmt":"2016-06-10T00:36:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/login-logout-shortcode\/"},"modified":"2018-06-19T01:41:20","modified_gmt":"2018-06-19T01:41:20","slug":"login-logout-shortcode","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/login-logout-shortcode\/","author":14838236,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"4.9.29","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"Simple Login-Logout Shortcode","header_author":"Pronto Tools","header_description":"","assets_banners_color":"1fb091","last_updated":"2018-06-19 01:41:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/prontotools\/login-logout-shortcode","header_author_uri":"http:\/\/www.prontotools.io","rating":5,"author_block_rating":0,"active_installs":400,"downloads":9893,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1434229","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1434229","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0","assets","bin","docker","tests"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[602,4233,80],"plugin_category":[38,43],"plugin_contributors":[87201,89449],"plugin_business_model":[],"class_list":["post-48888","plugin","type-plugin","status-closed","hentry","plugin_tags-login","plugin_tags-logout","plugin_tags-shortcode","plugin_category-authentication","plugin_category-customization","plugin_contributors-prontotools","plugin_contributors-zkancs","plugin_committers-prontotools"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/login-logout-shortcode_1fb091.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Use a simple, single shortcode to allow your visitors to login or logout depending on their current status.<\/p>\n\n<p>The shortcode outputs an a href link for you to add in the header, footer or anywhere else on your website.<\/p>\n\n<p><strong>Example Shortcode:<\/strong><\/p>\n\n<pre><code>[login-logout text_to_login=\"Login\" text_to_logout=\"Logout\" class=\"custom-class\" redirect=\"\/shop\/\"]\n<\/code><\/pre>\n\n<p><strong>Available Parameters:<\/strong><\/p>\n\n<ul>\n<li><strong>text_to_login<\/strong> - The text to prompt logged-out users to log in.<\/li>\n<li><strong>text_to_logout<\/strong> - The text to prompt logged-in users to log out.<\/li>\n<li><strong>class<\/strong> - Any optional custom classes to be added to the link.<\/li>\n<li><strong>redirect<\/strong> - An optional page to redirect to after logging in\/out. If not included, users will redirect to whatever page they\u2019re on when they click the link.<\/li>\n<li><strong>login_url<\/strong> - An optional parameter that user can change the URL login page<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Include the shortcode anywhere on your website: <code>[login-logout text_to_login=\"Login\" text_to_logout=\"Logout\" class=\"\" redirect=\"\"]<\/code><\/li>\n<li>Enjoy!<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Add login URL parameter so that user can change the URL login page instead of login on WP admin page <\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release!<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Include the shortcode anywhere on your website: <code>[login-logout text_to_login=\"Login\" text_to_logout=\"Logout\" class=\"\" redirect=\"\"]<\/code><\/li>\n<li>Enjoy!<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"A single shortcode you can place anywhere to allow visitors to login\/logout.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/48888","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=48888"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/prontotools"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=48888"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=48888"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=48888"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=48888"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=48888"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=48888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}