Skip Navigation

[Résolu] [wpv-reset-password-form] – how to add a redirect after the change

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

The issue here is that the user wanted to add a redirect on their reset password form.

Solution:

You can add the redirect by using this attribute "redirect_url"

Add it to your shortcode like this [wpv-reset-password-form redirect_url='myurl']

This support ticket is created Il y a 3 années et 8 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 5 réponses, has 2 voix.

Last updated by tony Il y a 3 années et 8 mois.

Assigned support staff: Shane.

Auteur
Publications
#1184311

Sorry but I find tracking down what I need here is confusing and bits are missing - it's probably me but maybe you can help.

I have set up a membership site and all is working except for the reset-password page does not redirect to the page I want.

After the password change, the confirmation is displayed along with the form. I want it to redirect to hidden link page after the password update.

In the forgot password page I have:
[wpv-forgot-password-form reset_password_url="hidden link"]

which works

In the reset password page I have:
[wpv-reset-password-form]

How do I add a redirect to the password reset form and where do I find these forms so that I can edit it (I seem to have lost it somehow!)? They are not in my CRED list and I cannot see where they are listed for easy access. I must have created these forms somehow but cannot work out how I did them.

Thanks
Tony

#1184406

Shane
Supporter

Languages: Anglais (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tony,

Thank you for contacting our support forum.

Is it that you want to customize the reset password form ?

Please let me know.
Thanks,
Shane

#1184449

Hi Shane

Yes

When the user enters the new password (twice) and submits the form, the returned page is the fowm with the "details updated" message.

What I want to happen is, after the form has been submitted and the data updated, I want to display my Login page. It's not a big problem as the linkto the Login page is on the return page - it's more of a cosmetic thing to avoid the user wondering what to do next.

Kind regards
Tony
PS
I am sure there will be others interested in this option.

#1184491

Shane
Supporter

Languages: Anglais (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tony,

Thanks for the clarity.

This is actually possible and you can add the redirect by using this attribute "redirect_url"

Add it to your shortcode like this [wpv-reset-password-form redirect_url='myurl']

Please let me know if this helps.
Thanks,
Shane

#1184497

Thanks Shane

Very simple solution - it would be really useful if the documentation at Toolset simply listed all the shortcodeswith their attributes (plus examples) - I am sure there are lots of hidden gems!!

It works perfectly.

Kind regards
Tony

#1184498

My issue is resolved now. Thank you!