WordPress.org

Deutsch

  • Themes
  • Plugins
  • News
  • Support
  • Über
    • Learn WordPress
    • Documentation (en)
    • Foren
    • Developers (en)
    • WordPress.tv
  • Meetups
  • Mitmachen
  • FAQ
  • Hol dir WordPress
Hol dir WordPress
WordPress.org

Plugin Directory

Login Logout Menu

  • Ein Plugin einreichen
  • Meine Favoriten
  • Anmelden
  • Ein Plugin einreichen
  • Meine Favoriten
  • Anmelden

Dieses Plugin ist nicht mit den jüngsten 3 Hauptversionen von WordPress getestet worden. Es wird möglicherweise nicht mehr gewartet oder unterstützt und kann Kompatibilitätsprobleme haben, wenn es mit neueren Versionen von WordPress verwendet wird.

Login Logout Menu

Von Julio Potier
Herunterladen
  • Details
  • Rezensionen
  • Installation
  • Entwicklung
Support

Beschreibung

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.

Screenshots

  • The meta box in nav menu admin page

Installation

  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.

Rezensionen

PHP 8 update coming?

21. November 2022
Otherwise a great plugin.

Works great, but…

Bart Kuijper 20. Juli 2022
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 6. März 2021
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 17. Februar 2020
Great plugin, thank You.

Have used this for at least 3 years – Perfect

bristoltutor2 6. Juni 2018
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 22. Januar 2018
The plugin description warns me because the plugin hasn’t been edited for a long time. However, it still works.
Alle 86 Rezensionen lesen

Mitwirkende & Entwickler

„Login Logout Menu“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende
  • Julio Potier
  • Grégory Viguier

Übersetze „Login Logout Menu“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

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

Meta

  • Version 1.3.3
  • Zuletzt aktualisiert vor 7 Jahren
  • Aktive Installationen 8.000+
  • WordPress-Version 3.0 oder höher
  • Getestet bis 4.3.34
  • Sprache
    English (US)
  • Schlagwörter
    log inloginlogoutmenunonce
  • Erweiterte Ansicht

Bewertungen

4.5 von 5 Sternen.
  • 74 5-Sterne-Rezensionen 5 Sterne 74
  • 3 4-Sterne-Rezensionen 4 Sterne 3
  • 0 3-Sterne-Rezensionen 3 Sterne 0
  • 0 2-Sterne-Rezensionen 2 Sterne 0
  • 9 1-Sterne-Rezensionen 1 Stern 9

Meine Rezension hinzufügen

Alle Rezensionen anzeigen

Mitwirkende

  • Julio Potier
  • Grégory Viguier

Support

Möchtest du etwas sagen? Brauchst du Unterstützung?

Support-Forum anzeigen

Spenden

Möchtest du die Weiterentwicklung dieses Plugins unterstützen?

Für dieses Plugin spenden

  • Über
  • News
  • Hosting (engl.)
  • Datenschutz
  • Showcase (engl.)
  • Themes
  • Plugins
  • Vorlagen
  • Lernen
  • Support
  • Entwicklung (engl.)
  • WordPress.tv ↗
  • Mitwirken (engl.)
  • Veranstaltungen
  • Spenden (engl.) ↗
  • Five for the Future (engl.)
  • WordPress.com ↗
  • Matt (engl.) ↗
  • bbPress (engl.) ↗
  • BuddyPress (engl.) ↗
WordPress.org
WordPress.org

Deutsch

  • Die Facebook-Seite von WordPress.org besuchen
  • Das X-Konto (früher Twitter) von WordPress.org besuchen
  • Das Mastodon-Konto von WordPress.org besuchen
  • Das Instagram-Konto von WordPress.org besuchen
  • Das LinkedIn-Konto von WordPress.org besuchen
  • Den YouTube-Kanal von WordPress.org besuchen
Code ist Poesie.