這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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]

評價

There are no reviews for this plugin.

貢獻者及開發者

“Logout Button” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Logout Button 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • This is the first release
  • No known bugs