Recent Topics

1 Apr 13, 2006 11:43    

Hi all,

when customizing my skin, what code should go to _main.php in order to show a 'post new story' or 'admin' link once a blogger has logged in?

at the moment, allthough there is


<ul>
                <?php
                        user_login_link( '<li>', '</li>' );
                        user_register_link( '<li>', '</li>' );
                        user_admin_link( '<li>', '</li>' );
                        user_logout_link( '<li>', '</li>' );
                ?>
        </ul>

I only get a logout link once the user loged in.

Thanks for any help

2 Apr 13, 2006 16:38

You should probably keep the whole block. The first line lets people log in if they've logged out. The second lets people register and can be turned off on your settings tab. The third provides the link to the back office for logged in bloggers, and the fourth lets logged in bloggers log out. Visitors who aren't logged in don't see a logout link, and bloggers don't see a login link.


Form is loading...