Front-end Membership Modules

Home / Login Form Shortcode

Login Form Shortcode

Once you configure this plugin as per your requirements, you can use the following shortcode to display the login form on any page, post and sidebar text widget.

Shortcode Parameters:

User will be redirected to this Url after successful login.
(Default: Homepage)

This will replace the default username field label.
(Default: Username or Email address: )

This will replace the default password field label.
(Default: Password: )

This text will be added to the username label.
(Default: required)

This will replace the submit button text.
(Default: Login)

You can specify custom CSS classes for the submit button displayed on the registration form.
(Default: Can be changed from the plugin settings.)

You can specify custom CSS class for the form container, if you wish to use your own CSS for the form styles.

Using Shortcode Generator

You can use our Shortcode Generator to easily specify parameters and insert this shortcode on any page while editing a page or post.


 Display login form in template files

If you are a developer or creating your own WordPress theme, you can call this shortcode via following PHP function: