Alıntı
<?php if (is_user_logged_in()) : ?>
<?php global $user_identity;get_currentuserinfo();?>
Sayın <strong><?php echo $user_identity;?></strong>; hoşgeldiniz <br>
<strong><a href="<?php echo get_settings('home'); ?>/wp-admin/profile.php" style="text-decoration:none">Hesabınız</a> | <a href="<?php echo get_settings('home'); ?>/wp-login.php?action=logout" style="text-decoration:none">Çıkış</a></strong>
<?php else :?>
<form name="loginform" id="loginform" action="<?php echo get_settings('home'); ?>/wp-login.php" method="post">
<strong>Hesabınıza giriş yapın:</strong><br>
<label>Kullanıcı: <input type="text" name="log" id="log" value="" size="20" /></label>
<label>Şifre: <input type="password" name="pwd" id="pwd" value="" size="20" /></label><br />
<input type="submit" name="submit" id="submit" value="Giriş &raquo; &raquo;" />
<input type="hidden" name="redirect_to" value="http://www.yonleneceksite.com/" />
</form>
<?php endif;?>
İstediğim sorunu çözdüm ve ben bu şekilde bir kullanma biçimi yaptım. Kullanıcı siteye giriş yapmamış ise; login form çıkartıyor karşısına. Eğer login olmuş ise; ad ve soyad (kullanıcı adı) verisini veriyor bize.

Herkese ihtiyaç olabilir düşüncesi ile buraya yazıyorum.