Title: Logout Button
Author: ben poland
Published: <strong>2013 年 8 月 8 日</strong>
Last modified: 2013 年 9 月 11 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/logout-button.svg)

# Logout Button

 作者：[ben poland](https://profiles.wordpress.org/ben-poland/)

[下载](https://downloads.wordpress.org/plugin/logout-button.zip)

 * [详情](https://cn.wordpress.org/plugins/logout-button/#description)
 * [评价](https://cn.wordpress.org/plugins/logout-button/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/logout-button/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/logout-button/#developers)

 [支持](https://wordpress.org/support/plugin/logout-button/)

## 描述

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.

## 安装

 1. Upload the ‘logout-button’ folder to the `/wp-content/plugins/` directory. Alternatively,
    you can upload the .zip
     folder to WordPress directly using the WP Dashboard – 
    Plugins -> Add New -> Upload.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Choose the appropriate for your Pages or Posts: [logout-to-default], [logout-to-
    current], [logout-to-home]

## 评价

此插件暂无评价。

## 贡献者及开发者

「Logout Button」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ ben poland ](https://profiles.wordpress.org/ben-poland/)

[帮助将「Logout Button」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/logout-button)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/logout-button/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/logout-button/)，或通过[RSS](https://plugins.trac.wordpress.org/log/logout-button/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/logout-button/)。

## 更新日志

#### 1.0

 * This is the first release
 * No known bugs

## 额外信息

 *  版本 **1.0**
 *  最后更新：**13 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.0.0 或更高版本 **
 *  已测试的最高版本为 **3.6.1**
 *  语言
 * [English (US)](https://wordpress.org/plugins/logout-button/)
 * 标签
 * [log](https://cn.wordpress.org/plugins/tags/log/)[log out](https://cn.wordpress.org/plugins/tags/log-out/)
   [log out button](https://cn.wordpress.org/plugins/tags/log-out-button/)[logout](https://cn.wordpress.org/plugins/tags/logout/)
   [out](https://cn.wordpress.org/plugins/tags/out/)
 *  [高级视图](https://cn.wordpress.org/plugins/logout-button/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/logout-button/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/logout-button/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/logout-button/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/logout-button/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/logout-button/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/logout-button/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/logout-button/reviews/)

## 贡献者

 *   [ ben poland ](https://profiles.wordpress.org/ben-poland/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/logout-button/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.ben-poland-dev.com)