login
sp_LoggedInOutLabel
Description sp_LoggedInOutLabel() – This function is used to display the current user’s logged in/out status message. Usage sp_LoggedInOutLabel($args=”, $inLabel=”, $outLabel=”, $outLabelMember=”); Arguments $args – List of arguments for controlling display. Type: (string) (optional) Default: ‘tagId’ => ‘spLoggedInOutLabel’ ‘tagClass’ => ‘spLabel’ ‘echo’ => 1 ‘tagId’: ID to apply to the container div for the label. ‘tagClass’:…
Read Moresp_LogInOutButton
Description sp_LogInOutButton() – This function is used to display a login or logout button for the site. Usage sp_LogInOutButton($args=”, $inLabel=”, $outLabel=”, $toolTip=”); Arguments $args – List of arguments for controlling display. Type: (string) (optional) Default: ‘tagId’ => ‘spLogInOutButton’ ‘tagClass’ => ‘spButton’ ‘logInLink’ => ” ‘logOutLink’ => esc_url(wp_logout_url()) ‘logInIcon’ => ‘sp_LogInOut.png’ ‘logOutIcon’ => ‘sp_LogInOut.png’ ‘iconClass’ =>…
Read Moresp_LoginForm
Description sp_LoginForm() – This function is used to display an inline login form. Usage sp_LoginForm($args=”); Arguments $args – List of arguments for controlling display. Type: (string) (optional) Default: ‘tagId’ => ‘spLoginForm’ ‘tagClass’ => ‘spForm’ ‘controlFieldset’ => ‘spControl’ ‘controlInput’ => ‘spControl’ ‘controlSubmit’ => ‘spSubmit’ ‘controlIcon’ => ‘spIcon’ ‘controlLink’ => ‘spLink’ ‘iconName’ => ‘sp_LogInOut.png’ ‘labelUserName’ => ”…
Read More