Hi,
I’ve used the following shortcode on my Add Listing page to replace the standard “You must login first” :
[gd_add_listing show_login=”1″ login_msg=”Please use the links to login or register before adding your listing”]
I’m also using the usersWP plugin
If I click on the new Login link created with the above shortcode: it shows:
https://mysite.com/login/?redirect_to=https://mysite.com/add-listing/?listing_type=gd_place
Which is what I want so that after logging in the user is redirected to the correct Add Listing form.
The Register link shows:
https://mysite.com/register/
It does not include the: ?redirect_to=https://mysite.com/add-listing/?listing_type=gd_place
How do I change the shortcode to include the correct redirection after registration, the same as in the login link?
Many thanks