1 re4med Sep 07, 2005 23:31
3 re4med Sep 08, 2005 23:17
personman wrote:
This bit of code will give you the login, register, admin, profile and logout links. It only shows what's appropriate, for instance, if you're not logged in you'll only see login and register. But if you only want to add the register link, then just use that line. Make sure you have registrations enabled in the backoffice, too.
<ul> <?php user_login_link( '<li>', '</li>' ); user_register_link( '<li>', '</li>' ); user_admin_link( '<li>', '</li>' ); user_profile_link( '<li>', '</li>' ); user_logout_link( '<li>', '</li>' ); ?> </ul>
Thanks! :)
This bit of code will give you the login, register, admin, profile and logout links. It only shows what's appropriate, for instance, if you're not logged in you'll only see login and register. But if you only want to add the register link, then just use that line. Make sure you have registrations enabled in the backoffice, too.