Primary

[affiliates_login_redirect]

Shows a login form that will redirect the user to the current page after login.

Useful example to embed on your page for non affiliates:

[affiliates_is_not_affiliate]

Please log in to access the affiliate area.

[affiliates_login_redirect]

[/affiliates_is_not_affiliate]

Your page will show:

Screen Shot 2015-02-11 at 17.28.23

This shortcode will accept an attribute to redirect to another page:

redirect_url=”http://www.example.com/the-page-you-want-to-redirect-to/”

Example:

[affiliates_login_redirect redirect_url="http://www.example.com/here"]