Title: Login-Logout
Author: webvitalii
Published: <strong>2011 年 5 月 12 日</strong>
Last modified: 2020 年 9 月 5 日

---

搜尋外掛

![](https://ps.w.org/login-logout/assets/banner-772x250.png?rev=482374)

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

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

# Login-Logout

 由 [webvitalii](https://profiles.wordpress.org/webvitaly/) 開發

[下載](https://downloads.wordpress.org/plugin/login-logout.3.8.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/login-logout/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/login-logout/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/login-logout/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/login-logout/#developers)

 [技術支援](https://wordpress.org/support/plugin/login-logout/)

## 外掛說明

 * **[Advanced iFrame Pro](https://1.envato.market/KdRNz)**
 * **[Login-Logout](http://web-profile.net/wordpress/plugins/login-logout/)**
 * **[Donate](http://web-profile.net/donate/)**
 * **[GitHub](https://github.com/webvitalii/login-logout)**

“Login-Logout” plugin adds widget with login or logout link. Also can be shown register
or site-admin link. It is the replacement of the default Meta widget.

#### If user is not logged in there are such links:

 * login (after login action user will return to previous page);
 * register (if user can register) (if checkbox is active);

#### If user is logged in there are such links:

 * welcome text with link to user profile (if checkbox is active);
 * logout (after logout action user will return to previous page);
 * site admin (if checkbox is active);

## 螢幕擷圖

[⌊Login-Logout widget⌉⌊Login-Logout widget⌉[

Login-Logout widget

[⌊Widget output when user is not logged in⌉⌊Widget output when user is not logged
in⌉[

Widget output when user is not logged in

[⌊Widget output when user is logged in⌉⌊Widget output when user is logged in⌉[

Widget output when user is logged in

[⌊Widget output when user is logged in and inline option is on⌉⌊Widget output when
user is logged in and inline option is on⌉[

Widget output when user is logged in and inline option is on

## 安裝方式

 1. Install and activate the plugin on the Plugins page
 2. Add “Login-Logout” widget to your sidebar and customize it

## 使用者評論

![](https://secure.gravatar.com/avatar/69b74a8b449201f3e9e4c562803d8ede0bb97bd5ad04af631f12d6a7cac673ea?
s=60&d=retro&r=g)

### 󠀁[Finally I got it right](https://wordpress.org/support/topic/finally-i-got-it-right/)󠁿

 [danielepais](https://profiles.wordpress.org/danielepais/) 2021 年 3 月 25 日

I was having issues with the very annoying logout confirmation but with this plugin
is finally gone.

![](https://secure.gravatar.com/avatar/44d3af495c159f426170e0db34266844a8c67feb0848361ccdfb6bf4e85d3687?
s=60&d=retro&r=g)

### 󠀁[So good, I didn’t need it.](https://wordpress.org/support/topic/so-good-i-didnt-need-it/)󠁿

 [douglasuk](https://profiles.wordpress.org/douglasuk/) 2020 年 1 月 9 日

I think it deserves five stars when the instructions tell you what you can do to
NOT use it and still get what you want. Can’t ask better than that!

![](https://secure.gravatar.com/avatar/9038fefd4186ca83516f213a9f8a94fac14c784244d7018c6bad9752e4e6eb92?
s=60&d=retro&r=g)

### 󠀁[Excellent, great, awesome yes it is!](https://wordpress.org/support/topic/excellent-great-awesome-yes-it-is/)󠁿

 [dglite](https://profiles.wordpress.org/dglite/) 2019 年 1 月 16 日

Excellent, great, awesome yes it is!

![](https://secure.gravatar.com/avatar/e9eccf83eb9bddaac5d0bbaaba42804804014b7d610919a2f3b41b2e51934bcd?
s=60&d=retro&r=g)

### 󠀁[Awesome!](https://wordpress.org/support/topic/awesome-6148/)󠁿

 [jaydeeforce](https://profiles.wordpress.org/jaydeeforce/) 2018 年 11 月 16 日

Super easy to set up exactly what it is for.

![](https://secure.gravatar.com/avatar/9236403d160b9567407000b3e9ea072599022060b76ffb5cba81f22f4c6abb51?
s=60&d=retro&r=g)

### 󠀁[Great (and easy to install;-)](https://wordpress.org/support/topic/great-and-easy-to-install/)󠁿

 [thmufl](https://profiles.wordpress.org/thmufl/) 2018 年 1 月 26 日

Super easy to install, worked right away. Has solved our login / logout problem 
that we have had for a long time. Many Thanks!

![](https://secure.gravatar.com/avatar/b74954f2257cdea73be95f53998fc1c31678358c2045d1cb36219849a696627d?
s=60&d=retro&r=g)

### 󠀁[Register link not show](https://wordpress.org/support/topic/register-link-not-show/)󠁿

 [androsijep](https://profiles.wordpress.org/androsijep/) 2016 年 9 月 3 日 1 則
留言

Register link not show! I check checkbox to display register link but not showing
link

 [ 閱讀全部 25 則使用者評論 ](https://wordpress.org/support/plugin/login-logout/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Login-Logout〉的開發相關工作。

參與者

 *   [ webvitalii ](https://profiles.wordpress.org/webvitaly/)

〈Login-Logout〉外掛目前已有 5 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/login-logout/contributors)
為這個外掛做出的貢獻。

[將〈Login-Logout〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/login-logout)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/login-logout/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/login-logout/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/login-logout/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/login-logout/)。

## 變更記錄

#### 3.8

 * Fixed the PHP 7.2 Deprecated Notice on create_function. Thanks to joneiseman –
   https://wordpress.org/support/users/joneiseman/

#### 3.7

 * Using wp_registration_url() instead of hardcoding registration link. Thanks to
   dmasin – https://profiles.wordpress.org/dmasin/

#### 3.6

 * Bugfixing

#### 3.5

 * Bugfixing
 * Code refactoring
 * Added LOGIN_LOGOUT_PLUGIN_VERSION constant

#### 3.4

 * Added ‘https’ support. Thanks to Sven

#### 3.3

 * Added ‘login_logout_username_link’ filter. Idea and code provided by Jon

#### 3.2

 * One more replace PHP4 style constructors with PHP5 constructors

#### 3.1

 * Replace PHP4 style constructors with PHP5 constructors – https://make.wordpress.
   org/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/

#### 3.0

 * Minor bugfixing
 * Code cleanup

#### 2.9

 * French translation made by Jean-Michel HAROUY – http://www.ceism-angers.fr/

#### 2.8

 * Czech translation made by Daniel Čermák – http://danielcermak.eu/

#### 2.7

 * Spanish translation made by Maria Ramos from WebHostingHub

#### 2.6

 * Serbian translation made by Borisa Djuraskovic from WebHostingHub

#### 2.5

 * minor changes

#### 2.4

 * minor changes

#### 2.3

 * Fixing minor bugs

#### 2.2

 * Added extra item for the list of items

#### 2.1

 * Added html tags support in many fields
 * Added html classes to list items

#### 2.0.1

 * Link to profile bugfix

#### 2.0.0

 * Added inline option
 * Added welcome text

#### 1.8.0

 * Translation ready

#### 1.7.0

 * Added “login text”, “logout text”, “register text” and “site admin text” options

#### 1.6.0

 * Splitting “redirect to” option into “redirect to after login” and “redirect to
   after logout”

#### 1.5.0

 * Added “redirect to” option

#### 1.4.0

 * Change method of widget registering

#### 1.3.0

 * Removed title if it is empty

#### 1.2.0

 * Split register and admin links

#### 1.1.0

 * Added show or hide register or site-admin link

#### 1.0.0

 * Initial release

## 中繼資料

 *  版本 **3.8**
 *  最後更新 **6 年前**
 *  啟用安裝數 **3,000+**
 *  WordPress 版本需求 ** 4.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.5.18**
 *  語言
 * [Czech](https://cs.wordpress.org/plugins/login-logout/)、[English (US)](https://wordpress.org/plugins/login-logout/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/login-logout/)、[Spanish (Spain)](https://es.wordpress.org/plugins/login-logout/)、
   [Swedish](https://sv.wordpress.org/plugins/login-logout/)、及 [Ukrainian](https://uk.wordpress.org/plugins/login-logout/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/login-logout)
 * 標籤:
 * [login](https://tw.wordpress.org/plugins/tags/login/)[logout](https://tw.wordpress.org/plugins/tags/logout/)
   [meta](https://tw.wordpress.org/plugins/tags/meta/)[sidebar](https://tw.wordpress.org/plugins/tags/sidebar/)
   [widget](https://tw.wordpress.org/plugins/tags/widget/)
 *  [進階檢視](https://tw.wordpress.org/plugins/login-logout/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  24 個 5 星使用者評論     ](https://wordpress.org/support/plugin/login-logout/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/login-logout/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/login-logout/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/login-logout/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/login-logout/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/login-logout/reviews/)

## 參與者

 *   [ webvitalii ](https://profiles.wordpress.org/webvitaly/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/login-logout/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://web-profile.net/donate/)