Your cart is currently empty!
Redirect Shortcode
—
by
hi guys
Placing the “Registration” shortcode [affiliates_dashboard_registration] on a page. It correctly shows the Login Form and the Registration Form which is what I need on my particular page.
For the “Login” option of it, I like to redirect that one to a custom URL after successful login.
Not sure how to have a separate function for login as it gets rendered from the registration shortcode
How can I do that please?
thanks
Posted in Affiliates Enterprise
Comments
One response to “Redirect Shortcode”
Hi Uwe,
You can use a custom redirect by modifying the login.php template.
First create a folder called affiliates and inside it another one called dashboard under wp-content/themes/your_theme_folder/. The result should look like this: wp-content/themes/your_theme_folder/affiliates/dashboard/.
Then go to the plugin files under wp-content/plugins/affiliates-enterprise/templates/dashboard and copy the template login.php to the previously created folder.
Edit the copied template located in the folder of the first step and replace the
with the full URL of your choice.
After this each time an affiliate logs in will be redirected to the new URL.
Kind regards,
George