内容をスキップ
  • ログイン
  • 登録
WordPress.org

日本語

  • テーマ
  • プラグイン
  • ニュース
  • サポート
    • ドキュメンテーション
    • フォーラム
  • 概要
  • 参加・貢献
  • このサイトについて
  • WordPress を入手
WordPress を入手

プラグイン

  • お気に入り
  • ベータテスト
  • 開発者

このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの 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

FAQ

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またはそれ以降
  • 検証済み最新バージョン: 4.3.30
  • 言語:
    English (US)
  • タグ:
    log inloginlogoutmenunonce
  • 詳細を表示

評価

すべて表示
  • 5つ星 74
  • 4つ星 3
  • 3つ星 0
  • 2つ星 0
  • 1つ星 9
レビューを申請するにはログインしてください。

貢献者

  • Julio Potier
  • Grégory Viguier

サポート

過去2ヶ月以内に解決した問題:

0 / 1

サポートフォーラムを表示

寄付

このプラグインが今後も改善できるよう応援しませんか ?

このプラグインに寄付

  • WordPress とは
  • ニュース
  • ホスティング
  • 寄付
  • Swag
  • ドキュメンテーション
  • 開発者
  • 参加・貢献
  • Learn
  • ショーケース
  • プラグイン
  • テーマ
  • パターン
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • マット・マレンウェッグ
  • プライバシー
  • 公開コード
WordPress.org
WordPress.org

日本語

  • Facebook ページへ
  • Twitter アカウントへ
  • Instagram アカウントへ
  • LinkedIn アカウントへ
Code is Poetry.