Login Form

If you wish to display a login form for users that have created an account during registration (or any other time), Easy Digital Downloads includes a short code for doing so.

[edd_login] will display a simple login form. It should be placed on the page that you wish to act as the login page:

Below is an example of a login form, styled with the Vendd theme.

The short code also accepts an options redirect parameter that lets you set where users are redirected after they login. By default, users are sent back to the same page as the login form is displayed on, but if you want to send them elsewhere, such as your homepage, you can do this:

[edd_login redirect="http://yoursite.com"]

Note, if the user is already logged in the form will be replaced with the text

"You are already logged in"