WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Logout Button

Allows simple embedding of a log out button using one of three shortcodes corresponding to a different redirect option

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.

Requires: 3.0.0 or higher
Compatible up to: 3.6.1
Last Updated: 2013-9-11
Downloads: 1,766

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
0,1,0