• Giới thiệu về WordPress
    • Giới thiệu về WordPress
    • WordPress.org
    • Tài liệu
    • Hỗ trợ
    • Thông tin phản hồi
  • Đăng nhập
  • Đăng ký
Chuyển tới nội dung

WordPress.org

tiếng Việt

  • Về WordPress
  • Giao diện
  • Plugin
  • Meetup
  • Team
  • Hỗ trợ
  • Tin tức
  • Tải WordPress

Plugin

  • Mục yêu thích
  • Phiên bản Beta
  • Lập trình viên

Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Tải về

Login Logout Menu

Bởi Juliobox
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Hỗ trợ
  • Development

Mô tả

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.

Ảnh màn hình

  • The meta box in nav menu admin page

Cài đặt

  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

Hỏi đáp

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.

Đánh giá

Great plugin, thank You.

xszejdi 17 Tháng Hai, 2020
Great plugin, thank You.

Have used this for at least 3 years – Perfect

bristoltutor2 6 Tháng Sáu, 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 Tháng Một, 2018
The plugin description warns me because the plugin hasn't been edited for a long time. However, it still works.

Works great!

miandu 7 Tháng Tư, 2017
Still kicking hard on WordPress Version 4.7.3.

Excellent Plugin

MassimoD 18 Tháng Ba, 2017
This plugin has solved my small problem and seems to work just fine (even the fact that it has not been updated for a long time). Many thanks !

Love it.

libertyinst 3 Tháng Một, 2017
Works as expected.
Đọc tất cả 82 đánh giá

Người đóng góp & Lập trình viên

“Login Logout Menu” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • Julio Potier
  • Grégory Viguier

Dịch “Login Logout Menu” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

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

  • Phiên bản: 1.3.3
  • Lần cập nhật gần nhất: 5 năm trước
  • Lượt kích hoạt: 20.000+
  • Phiên bản WordPress: 3.0 hoặc cao hơn
  • Đã kiểm tra với: 4.3.25
  • Ngôn ngữ:
    English (US)
  • Tag:
    log inloginlogoutmenunonce
  • Nâng cao

Đánh giá

Xem tất cả
  • 5 sao 72
  • 4 sao 3
  • 3 sao 0
  • 2 sao 0
  • 1 sao 8
Log in to submit a review.

Những người đóng góp

  • Julio Potier
  • Grégory Viguier

Hỗ trợ

Các lỗi đã xử lý trong vòng hai tháng gần đây:

0 trên 1

Xem diễn đàn hỗ trợ

Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

Ủng hộ plugin này

  • Giới thiệu
  • Blog
  • Hosting
  • Tài trợ
  • Hỗ trợ
  • Lập trình viên
  • Tham gia
  • Học
  • Phòng trưng bày
  • Gói mở rộng
  • Giao diện
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Bảo mật
  • Public Code
  • @WordPress
  • WordPress

Viết code như làm thơ.