Function: theme_my_login()

Description

Displays the output of the plugin.

Usage

<?php theme_my_login( $args ); ?>

Parameters

instance

(string) A unqiue instance ID for this instance.

default_action

(string) The action to display. Defaults to "login".

login_template

(string) The template used for the login form. Defaults to "login-form.php".

register_template

(string) The template used for the register form. Defaults to "register-form.php".

lostpassword_template

(string) The template used for the lost password form. Defaults to "lostpassword-form.php".

resetpass_template

(string) The template used for the reset password form. Defaults to "resetpass-form.php".

user_template

(string) The templated used for when a user is logged in. Defalts to "user-panel.php".

show_title

(boolean) True to display the current title, false to hide. Defaults to true.

show_log_link

(boolean) True to display the login link, false to hide. Defaults to true.

show_reg_link

(boolean) True to display the register link, false to hide. Defaults to true.

show_pass_link

(boolean) True to display the lost password link, false to hide. Defaults to true.

register_widget

(boolean) True to allow registration in widget, false to send to register page. Defaults to false.

lostpassword_widget

(boolean) True to allow password recovery in widget, false to send to lost password page. Defaults to false.

logged_in_widget

(boolean) True to display the widget when logged in, false to hide. Defaults to true.

show_gravatar

(boolean) True to display the user's gravatar, false to hide. Defaults to true.

gravatar_size

(integer) The size of the user's gravatar. Defaults to "50".

before_widget

(string) Content to display before widget. Defaults to "<li>".

after_widget

(string) Content to display after widget. Defaults to "</li>".

before_title

(string) Content to display before the title (if displayed). Defaults to "<h2>".

after_title

(string) Content to display after the title (if displayed). Defaults to "</h2>".