Create buttons login/logout using “cooltext.com”, put in a root folder and place the codes on a template of the theme, in my case it’s sidebar.php and I want the buttons to show up at the beginning, center of the right side column.
<div id=”side-right”>
<p style=”text-align:center;”><?php if (is_user_logged_in()) : ?><a href=”<?php echo wp_logout_url(“<?php echo bloginfo(‘url’); ?>” ); ?> “><img src=”/logout.png” onmouseover=”this.src=’/logouth.png’;” onmouseout=”this.src=’/logout.png’;” /></a>
<?php else : ?><a alt=”Login/Register” href=”<?php echo bloginfo(‘url’); ?>/wp-login.php”><img src=”/login.png” onmouseover=”this.src=’/loginh.png’;” onmouseout=”this.src=’/login.png’;” /></a>
<?php endif;?></p>
<?php dynamic_sidebar(‘right’); ?>
</div>