WordPress.org

فارسی

  • پوسته‌ها
  • افزونه‌ها
  • اخبار
  • پشتیبانی
  • درباره
  • تیم وردپرس فارسی
  • دریافت وردپرس
دریافت وردپرس
WordPress.org

Plugin Directory

Login or Logout Menu Item

  • Submit a plugin
  • علاقه‌مندی‌های من
  • ورود
  • Submit a plugin
  • علاقه‌مندی‌های من
  • ورود

Login or Logout Menu Item

توسط cartpauj
دانلود
  • جزئیات
  • نقد و بررسی‌ها
  • نصب
  • توسعه
پشتیبانی

توضیحات

With this plugin you can easily add a dynamic login/logout menu item to any menu on your WordPress site. The menu item will change based on whether the current user is logged in or logged out. You can also set a specific login page url, login redirect url and a logout redirect url.

Thanks to Juliobox for his prior efforts on the BAW Login/Logout Menu plugin which this is derived from

CONFIGURE SETTINGS

After installing and activating the plugin, you can find the settings in your dashboard under: Settings > Login or Logout

Login Page URL – This should be the URL to the page where your users will login at. For most wordpress sites this will be /wp-login.php but if you’re using a membership plugin like MemberPress, it might be something like /login/ instead.

Login Redirect URL – This is the URL you would like your users to be redirected to after they’ve successfully logged in. You can set it to / to take them to the home page after logging in. If you’re using a membership plugin like MemberPress, you might want to use /account/ instead. NOTE: Some plugins may override this if they are configured to redirect your users somewhere else during login.

Logout Redirect URL – This is the URL you would like your users to be redirected to after they click the Logout link from this menu item. Use a / to redirect them to the home page, or you might want to redirect them back to the login page at /login/ or /wp-login.php etc.

ADD ITEM TO MENU

In your dashboard visit Appearance > Menus.

Then at the top right of that page click the Screen Options button and ensure that Login/Logout checkbox is checked.

Then select a menu to edit, or create a new menu if you don’t already have one.

In the left sidebar find Login/Logout and click the checkbox next to Login|Logout and then click Add to Menu.

You can now drag the menu item wherever you’d like it to appear in your menu. The URL in the menu settings must be left at #lolmiloginout# but you can change the Navigation Label if you’d like it to say something else. Just ensure that the | is there in the label separating the two words.

Now save your menu. That’s it!

Troubleshooting

After logging in, menu still shows “Login” or Vice-Versa – This is most commonly caused by caching. If you’re using a caching solution such as Cloudflare, WPRocket, or others, be sure that caching is disabled for logged in users, and disable browser caching options as well.

Login is redirecting users somewhere other than my settings – Many times other plugins will have their own login redirect handling which overrides this plugin’s, such as MemberPress for example. In this case, the other plugins will need to be configured to redirect the user where you’d like them to go.

عکس‌های صفحه

  • Login or Logout Menu Item
  • Login or Logout Menu Item – Settings

نصب

  1. Download a .zip of this plugin file
  2. Go to your WordPress Dashboard -> Plugins page
  3. Click “Add New” -> “Upload”
  4. Upload the .zip of this plugin and activate it
  5. For usage instructions, see Details tab and screenshots

نقد و بررسی‌ها

It’s incredible…

MTC 17 آوریل 2024
… that WP doesn’t offer this functionality on its own 😀 Great plugin, works like a charm.

Fantastic! Thank you.

melbatoast4 14 سپتامبر 2022
Thank you so much for this plugin. Elegantly does what I needed two plugins to do before, with less setup and better functionality.

Damn cool

yannickburky 18 ژانویه 2022
Thanks for this piece of software

Does what WordPress should already do

ChickenWhisperer 17 اکتبر 2021
thanks!

works a treat

Larissa 16 آوریل 2021
Works as expected, thank you

Great plugin

leokand 12 مارس 2021
Easy to use and to setup. Works perfectly. Five stars.
خواندن تمامی 21 نقد و بررسی‌

توسعه دهندگان و همکاران

“Login or Logout Menu Item” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان
  • cartpauj

ترجمه “Login or Logout Menu Item” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

گزارش تغییرات

1.2.3

  • Small tweaks to help avoid hosting blocks
  • Fix nonce validation

1.2.2

  • Bump WP Compatibility

1.2.1

  • Fixed error when saving options on some web-host’s

1.2.0

  • Fixed save options security vulnerability

1.1.1

  • Fixed – Do not redirect Administrator users when logging in

1.1.0

  • Added a settings page
  • Added setting for login page URL
  • Added setting for login redirect URL
  • Added setting for logout redirect URL

1.0.0

  • First Release

اطلاعات

  • نگارش 1.2.3
  • Last updated 1 ماه پیش
  • نصب‌های فعال 20,000+
  • نگارش وردپرس 6.0 یا بالاتر
  • Tested up to 6.8.1
  • زبان
    English (US)
  • Tags
    Dynamicloginlogoutmenumenu item
  • نمایش پیشرفته

امتیازها

4.8 از 5 ستاره.
  • امتیاز 20 5-ستاره 5 ستاره 20
  • امتیاز 0 4-ستاره 4 ستاره 0
  • امتیاز 0 3-ستاره 3 ستاره 0
  • امتیاز 0 2-ستاره 2 ستاره 0
  • امتیاز 1 1-ستاره 1 ستاره 1

افزودن ارزیابی من

مشاهده همه بررسی‌ها

مشارکت کنندگان

  • cartpauj

پشتیبانی

مشکلات حل شده در دو ماه گذشته:

0 از 1

مشاهده انجمن پشتیبانی

  • درباره ما
  • اخبار
  • میزبانی
  • حریم خصوصی
  • ویترین
  • پوسته‌ها
  • افزونه‌ها
  • الگوها
  • یادگیری
  • پشتیبانی
  • توسعه‌دهندگان
  • WordPress.tv ↖
  • مشارکت کنید
  • رویدادها
  • حمایت ↖
  • پنج برای آینده
  • WordPress.com ↖
  • مت ↖
  • بی‌بی‌پرس ↖
  • بادی‌پرس ↖
WordPress.org
WordPress.org

فارسی

  • از حساب کاربری X (تویتر سابق) ما بازدید کنید
  • بازدید از حساب کاربری ما در بلواسکای
  • بازدید از حساب کاربری ما در ماستودون
  • بازدید از حساب کاربری ما در تردز
  • صفحه ی فیسبوک ما را ببینید
  • بازدید از حساب کاربری ما در اینستاگرام
  • بازدید از حساب کاربری ما در LinkedIn
  • بازدید از حساب کاربری ما در تیک‌تاک
  • کانال یوتیوب ما را ببینید
  • بازدید از حساب کاربری ما در تامبلر
کد شعر است.