Append language code to registration URL
-
We have s2members Pro, but we’re using Paypal buttons (we only have Paypal standard).
Our site is multilingual (we us WPML). We’ve created separate pages for paid membership in each language, and used the “success” attribute in the Paypal buttons to redirect the new members to a custom page in their language on payment success. From there, they are invited to go to the registration form, and we’ve appended the proper language to the URL, like this:
http://www.mysite.com\wp-login.php?lang=fr&action=register
However, the registration button on this form submits the form to itself without our added language variable to the URL, so after registration the member lands on the default language login form. It also reverts back to the default language if the member forgets to fill a required field.
Is there any way at all, be it hooks or whatnot, to alter the form’s submit button so that it keeps the language variable?
Thanks!
The topic ‘Append language code to registration URL’ is closed to new replies.