-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
When building a site it would be useful to to be able to add a Feature Link to a menu that starts as Login and when activated it would expand to show a login form (similar to how the Search and Cart boxes expand out from the menu).
There are a handful of great features we could bake into this Feature Link. Some examples include:
- Successful login changes the
Loginlink to aLogoutlink so you can easily logout as well.- The more "complex" alternative option is the
Loginlink could change to aWelcome <user>or<icon> <user>(similar to what shows in theadmin bar. Hovering this item would expand a submenu with user specific links such asMy ProfileandLogout - Going this route the submenu might be very basic at first but could be customizable via the
menu builderat some point as sub-items below theLoginlink.
- The more "complex" alternative option is the
- On the backend it would be nice to be able to define an optional
redirectparameter. For example, a successful login might automatically take a user to their profile page or dashboard of some kind. If noredirectparameter exists users would just remain on the current page after successful authentication. - The flyout box could include a
Forgot Passwordlink which would direct users into the standard WP authenticaiton screens (still retainingredirectcapabilities to return users to the right page)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request