The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

Dynamic Login/Registration/Password Form Redirects to Previous Page or Any page specified in URL

Labels

This Discussion is public

Notifications

Im trying to set up a new page that will replace the contents of Login/Registration/LostPassword.
By default the Form is in LOGIN state.
If the URL contains ACTION = login/register then the corresponding fields show up.
(Same as the login page now)

Ultimately, Id like there to add "an action" that  I can can call to redirect me to the previous page or page specified in the URL

Thanks

I'm not sure if this is exactly what you are looking for, but we use Peter's Login Redirect to redirect users with certain roles to a certain page after login.  I've also added shortcode and some customization to redirect a user to his/her page only.

I've combined this with WP User Manager with lets me customize my login pages and add restrictions based on user roles.  If I remember correctly, it is limited on how much customization you can do to the password reset page. Additionally, my application uses numerous roles based on what the users have access to and I have used "User Role Editer" for that.

In summary, here's the 3 plugins I use to control login screens, and user roles and permissions.

Peter's Login Redirect by Peter Keung (hasn't been updated in while, but works with WordPress 4.7.3)
WP USer Manger by Alessandro Tesoro
User Role Editor by Vladimir Garagulya

Hope this helps!

Discussion closed.