• 6,045 views 13.10.2006 7 Comments

    The built in ‘wp_register’ function is hard-coded to display either a ‘Register’ or a ‘Site Admin’ link. If you want to display different wording, you’re out of luck, until now. The jpf_register function allows you to determine what text is displayed as the link for registering. It also allows you to include what text or coding you want included before or after the link. Finally, if you don’t want a link to be displayed at all if a user is already registered (based on if they are logged in or not), it can do that to. The plugin accepts the following parameters:

    jpf_register ( '<before>', '<after>', '<not_registered>', '<registered>')

    Read more…

    Tags:

  • 6,406 views 13.10.2006 12 Comments

    The built in ‘wp_loginout’ function is hard-coded to display either a ‘Login’ or a ‘Logout’ link. If you want to display different wording, you’re out of luck, until now. The jpf_loginout function allows you to determine what text is displayed as the link for logging in or out. It also allows you to include what text or coding you want included before or after the link. The plugin accepts the following parameters:

    jpf_loginout ( '<before>;', '<after>', '<login>', '<logout>') Read more…

    Tags: