template tag
sp_InsertBreak
Description sp_InsertBreak() – This function is used to insert an empty div container. This ’empty’ container can be used to reset floats, add spacing or add other user desired styling (via CSS) to that empty div container. Usage sp_InsertBreak($args=”); Arguments $args – List of arguments for controlling display. Type: (string) (optional) Default: ‘tagClass’ => ”…
Read Moresp_UserSpecialRank
Description sp_UserSpecialRank – This function is used to display a user’s special ranks. Usage sp_UserSpecialRank($args=”, $ranks=”); Arguments $args – List of arguments for controlling display. Type: (string) (optional) Default: ‘tagClass’ => ‘spSpecialRank’ ‘titleClass’ => ‘spSpecialRank’ ‘badgeClass’ => ‘spSpecialRank’ ‘showTitle’ => 1 ‘showBadge’ => 1 ‘echo’ => 1 ‘tagClass’: Class to apply to the forum rank…
Read Moresp_UserForumRank
Description sp_UserForumRank() – Display a users forum ranks. Usage sp_UserForumRank($args=”, $ranks=”); Arguments $args – List of arguments for controlling display. Type: (string) (optional) Default: ‘tagClass’ => ‘spForumRank’ ‘titleClass’ => ‘spForumRank’ ‘badgeClass’ => ‘spForumRank’ ‘showTitle’ => 1 ‘showBadge’ => 1 ‘echo’ => 1 ‘tagClass’: CSS class to apply to the forum rank container div. ‘titleClass’: CSS…
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