Skip to:

Opened 2 years ago

Closed 9 months ago

Last modified 9 months ago

#8644 closed enhancement (worksforme)

Add login/logout link.

Reported by: dcavins's profile dcavins Owned by:
Milestone: Priority: normal
Severity: normal Version: 10.1.0
Component: Navigation Keywords:
Cc: dcavins


Since BP is membership based, we need to make it easier for site admins to add a context-sensitive login/logout link to standard menus. There are plugins that do this, but we should just do it, too. It's too nice of an improvement and too easy to ignore, in my opinion.

Change History (5)

#1 @imath
17 months ago

  • Milestone changed from Awaiting Review to Up Next

I thought we had this into the loggedin / logout dynamic menu we introduced in 1.9 if I remember well! If not, we really need to include this I agree.

#2 @imath
16 months ago

  • Milestone changed from Up Next to 12.0.0

#3 @imath
9 months ago

@dcavins If we may need to improve the way to generate these links from the Site Editor navigation menu, I confirm using the WP Legacy menu Administration screen for regular themes, you can add log-in/log-out menu already:

You just need to make sure to activate the "BuddyPress Member" screen element:

Once done you get new choices from this "BuddyPress Member" panel and you can select from the Logged-in tab the log out link:

And from the Logged-out tab the log in link:

This way when not logged in users reach the website, they get this menu item:

And once they logged-in, they get this menu item:

#4 @dcavins
9 months ago

  • Milestone 12.0.0 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Great! Thanks for the explanation!

#5 @imath
9 months ago

You're welcome 🤗

Note: See TracTickets for help on using tickets.