跳至主要內容
  • 登入
  • 註冊
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress

外掛目錄

  • 我的最愛
  • Beta 版測試
  • 開發者資訊

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

下載

Login Logout Menu

由 Juliobox 開發
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

With this plugin you can now add a real log in/logout item menu with autoswitch when user is logged in or not.
Nonce token is present on logout item.
2 titles, one for ‘log in’ and one for ‘logout’ can be set up.
Also, you can set the redirecion page you want, just awesome.

螢幕擷圖

  • The meta box in nav menu admin page

安裝方式

  1. Upload the “baw-login-logout-menu” folder into the “/wp-content/plugins/” directory
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. You can now add real log in and logout links in your Navigation Menus
  4. See FAQ for usage

常見問題集

Installation Instructions
  1. Upload the “baw-login-logout-menu” folder into the “/wp-content/plugins/” directory
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. You can now add real log in and logout links in your Navigation Menus
  4. See FAQ for usage
How does this works?

Visit your navigation admin menu page, you got a new box including 3 links, ‘log in’, ‘logout’, ‘log in/logout’.
Add the link you want, for example “Log in|Logout”
1. You can change the 2 titles links, just separate them with a | (pipe)
1. You can add a page for redirection, example #bawloginout#index.php This will redirect users on site index.
1. You can add 2 pages for redirection, example #bawloginout#login.php|logout.php This will redirect users too.
1. For this redirection you can use the special value %actualpage%, this will redirect the user on the actual page.

You can also add 3 shortcodes inyour theme template or in your pages/posts. just do this :
For theme : <?php echo do_shortcode( '[loginout]' ); ?>
In you posts/pages : [loginout]

The 3 shortcodes are “[login]”, “[logout]” and “[loginout]”.
You can set 2 parameters, named “redirect” and “edit_tag”.
Redirect: used to redirect the user after the action (log in or out) ; example : “/welcome/” or “index.php”
Edit_tag: used to modify the tag, ; example ” class=’myclass'” or ” id=’myid’ class=’myclass’ rel=’friend'” etc

You can also modify the title link with [login]Clic here to connect[/login] for example

There is a new hook (1.3.3) named ‘bawregister_item”, this is a menu item, when a user is not logged in, it contains the register button/link, and when the user is logged in, since the link will diseppear, you can hook it and change the ttle and URL, so it won’t go away.

使用者評論

PHP 8 update coming?

2022 年 11 月 21 日
Otherwise a great plugin.

Works great, but…

Bart Kuijper 2022 年 7 月 20 日
This plugin (still) works great. However be aware that it's not compatible with PHP 8 or newer, the latest PHP version this plugin will work with is 7.4. This is due to its use of create_function, which has been deprecated since PHP 7.2 and removed as of PHP 8. This should be replaced with an anonymous function, which is easy enough. But I haven't tested this myself, so I don't know if that's the only incompatibility with PHP 8+.

Très bien, mais pourquoi l’abandonner ?

aralar 2021 年 3 月 6 日
Bonjour C’est bien dommage que l’extension semble non maintenue et abandonnée, parce qu’elle est simple et fonctionne très bien. Allez les gars, un petit coup de pouce pour la tester avec les nouvelles versions de WordPress !

Great plugin, thank You.

xszejdi 2020 年 2 月 17 日
Great plugin, thank You.

Have used this for at least 3 years – Perfect

bristoltutor2 2018 年 6 月 6 日
For those asking why it hasn't been updated; it doesn't need to be. I've used this on countless sites for at least 3 years, maybe as long as 5 years (I truly cannot remember) and it is faultless. In simple terms, it does what it says on the tin.

Works.

philippze 2018 年 1 月 22 日
The plugin description warns me because the plugin hasn't been edited for a long time. However, it still works.
閱讀全部 86 則使用者評論

參與者及開發者

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

參與者
  • Julio Potier
  • Grégory Viguier

將〈Login Logout Menu〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.3.3

  • 31 july 2015
  • New hook, see FAQ
  • Code compliant

1.3

  • 09 nov 2012
  • Fix the famous NULL ITEM bug! Thanks for your patience 🙂
  • File splitting
  • Fix a graphic bug on the menu spinner

1.2

  • 29 jun 2012
  • You can now add 2 pages for the #bawloginout# choice, check the FAQ

1.1

  • 13 mar 2012
  • 3 shortcodes added, see FAQ

1.0

  • 08 mar 2012
  • First release

中繼資料

  • 最新版本: 1.3.3
  • 最後更新: 8 年前
  • 啟用安裝數: 10,000+
  • WordPress 版本需求: 3.0 或更新版本
  • 已測試相容的 WordPress 版本: 4.3.30
  • 語言:
    English (US)
  • 標籤:
    log inloginlogoutmenunonce
  • 進階檢視

評分

檢視全部
  • 5 星 74
  • 4 星 3
  • 3 星 0
  • 2 星 0
  • 1 星 9
登入以提交評論

參與者

  • Julio Potier
  • Grégory Viguier

技術支援

最近 2 個月解決的問題:

總計 1 個問題,已解決 0 個

查看技術支援論壇

贊助

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

贊助這個外掛

  • 關於我們
  • 最新消息
  • 主機託管
  • 贊助基金會
  • Swag
  • 線上說明
  • 開發者資源
  • 共同參與
  • Learn
  • 展示網站
  • 外掛目錄
  • 佈景主題目錄
  • 區塊版面配置目錄
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • 隱私權
  • Public Code
WordPress.org
WordPress.org

Taiwan 正體中文

  • 造訪我們的 Facebook 粉絲專頁
  • 造訪我們的 Twitter 帳號
  • Visit our Instagram account
  • Visit our LinkedIn account
程式碼,如詩