i4w_minilogin

Usage:

This shortcode returns a miniature HTML form through which a visitor can log in. As the name implies, it’s designed to have a small footprint.

This shortcode does NOT supports conditional branching with [ELSE_minilogin].

Shortcode nesting is NOT supported.

Parameters:

user The default label for the user login field is “User”. Using this parameter, the default label may be overriden.
Default: ‘User’.
Required: no.
pass The default label for the user password field is “Password”. Using this parameter, the default label may be overriden.
Default: ‘Password’.
Required: no.
button The default label for the login push buttion is “Login”. Using this parameter, the default label may be overriden.
Default: ‘Login’.
Required: no.
buttonimage The URL path to the image of your choice. If present, will override the ‘button’ parameter.
Default: None.
Required: no.
buttoncenter Will cause the HTML submit button to be centered.
Default: None.
Required: No.
buttonstyle Any inline style you want to apply to the button image or HTML button.
Default: None.
Required: No.
layout The default layout is horizontal. Optionally, you may set it to vertical (‘v’), in which case the login form will be displayed within a 3 row table.
Default: ‘h’ (horizontal).
Required: no.
width The default field width is 60 pixels. Using this integer parameter, the default width may be overriden.
Default: none.
Required: no.
height Using this integer parameter, a height for the input fields may be set.
Default: none.
Required: no.
redir Upon login through the mini-login shortcode, the user will be returned to the same page. By entering an alternative URL, one can override the default and send the user to a different page.In order to override the default “stay on same page” behavior and revert to the membership level’s “redirect on login”, enter redir=’#use_level_redir#’.
Default: none.
Required: no.
display Define whether or not the login form should be displayed when the user is already logged in. Use ‘display=’always’ to force a display.
Default: none.
Required: no.
default_password Allows the visitor to log in by using ONLY an email. This is ideal for free sites where access to the content is purposely setup to be as uncomplicated as possible.
Default: 0 (no).
Required: no.

Example:

[i4w_minilogin]

[i4w_minilogin redir='#use_level_redir#']

[i4w_minilogin redir='#use_last_page#']

Notes:

In order to override the default “stay on same page” behavior and revert to the membership level’s “redirect on login”, enter redir=’#use_level_redir#’.

API:

There is no API function equivalent for this shortcode.