Recent Topics

1 Sep 07, 2005 23:31    

As the subject line indicates....

I would like users to be ab le to register with the blog thus the question. :)

Thanks,

W. Hill

2 Sep 08, 2005 14:15

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>

3 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! :)


Form is loading...