Logout Button

This plugin utilizes the default log out function from WordPress, and it allows the user to put a log out button on any page the choose. This is done by use of one of three available short codes that have various redirect options.

Author:Ben Poland (profile at wordpress.org)
WordPress version required:3.0.0
WordPress version tested:3.6
Plugin version:1.0
Added to WordPress repository:08-08-2013
Last updated:11-09-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:2
Plugin URI:http://www.ben-poland-dev.com
Total downloads:6 195
Active installs:100+
plugin download
Click to start download

This plugin can be thought of as a front-end logout solution. It allows a WordPress administrator to embed a link on any page (or post if you want) that gives other WordPress users the ability to easily logout without having to fuss with the WordPress Dashboard. There are three shortcodes that can be used, and each one has a different redirect option: Redirect to Home, Current Page, or the WordPress Default wp-login.php page.

The Logout Button plugin uses the default log out functionality provided by WP through wp_loginout(). It checks to see if the user is logged in. If the user is logged in, a Log Out link will be displayed to them. If the user is not logged in, nothing will be shown to the user.

Future releases will include the ability to choose "Themes". Right now, a simple link is displayed and the CSS from the currently activated theme is used on that link. Of course, there is always the ability to dive directly into display_button.php to edit the CSS yourself.


ChangeLog