This shortcode will display the frontend login form, like this example.
How to Embed This Shortcode in Editor
[userpro template=login]
How to Embed This Shortcode with PHP
<?php echo do_shortcode('[userpro template=login]'); ?>
Shortcode Options
Example
Options are used to customize the shortcode and can be assigned as a pair option=value in your shortcode like this.
[userpro template=login option=value]
- login_redirect – Redirect the URL after successful login.For example,enter the “http://www.example.com” Default: View template
- login_heading – Change the name of heading in the left side of Login Template. Default: Login
- register_heading – Change the name of heading in the left side of Register Template,after clicking on ‘Create an Account’ button on login form. Default: Register an Account
- register_button_primary – Change the name of primary (Black) button given in the bottom of the Register Template ,after clicking on ‘Create an Account’ button on Login Template. Default: Register
- login_button_primary – Change the name of primary (Black) button given in the bottom of the Login Template. Default: Login
- login_button_secondary – Change the name of secondary (White) button given in the bottom of the Login Template. Default: Create an Account
- register_button_secondary – Change the name of secondary (White) button given in the bottom of the Register Template. Default: Login
- register_side – Change the name of heading given in the right side of the Register Template,after clicking on ‘Create an Account’ button on Login Template. Default: Already a member?
- login_side – Change the name of heading given in the right side of the Login Template. Default: Forgot your password?
- login_side_action – Change the link/action for the right side button which appears on Login Template. Default: Forgot your password? , you can change it into register
- register_side_action – Change the link/action for the right side button which appears on Register Template,after clicking on ‘Create an Account’ button on Login Template. Default: Already a member? , you can change it into register
Leave A Comment?