Right now I have a static “login link” on my site which you can see here ( http://canuckster.org ). I was wondering if there is a login widget that would allow one to login and logout?
Used this hack on the top left of my page and it does what I want…
<?php
global $user_identity;
get_currentuserinfo();
if ($user_identity == ”) {
echo(‘Welcome Guest, why not register or login to post comments’);
} else {
echo(‘Welcome <b>’ . $user_identity . ‘</b>’);
}
?>
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Login Widget’ is closed to new replies.