
login panelını buldum
Alıntı
<?php if (is_user_logged_in()): { ?>
<!-- Kullanici giris yaptiysa gorunecek olan bolum -->
<h2><?php _e('Kullanici paneli') ?></h2>
<ul>
<li><?php wp_loginout(); ?></li>
</ul>
<?php } endif; ?>
<?php if ( !is_user_logged_in()): { ?>
<!-- Kullanini giris yapmadiysa gorunecek olan bolum -->
<h2><?php _e('Giris yapin') ?></h2>
<ul>
<form name="loginform" id="loginform" action="http://sitenizin ismi/wp-login.php" method="post">
<br /><label>Kullanici Adi:<br /><input type="text" name="log" id="log" value="" size="20" tabindex="1" /></label>
<br /><label>Parola:<br /> <input type="password" name="pwd" id="pwd" value="" size="20" tabindex="2" /></label>
<br /><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" />Beni unutma</label>
<br /><input type="submit" name="submit" id="login" value="Giris »" tabindex="4" />
</form>
<h2><?php _e('Kayit olun') ?></h2>
<?php wp_register(); ?>
</ul>
<?php } endif; ?>
<!-- Kullanici giris yaptiysa gorunecek olan bolum -->
<h2><?php _e('Kullanici paneli') ?></h2>
<ul>
<li><?php wp_loginout(); ?></li>
</ul>
<?php } endif; ?>
<?php if ( !is_user_logged_in()): { ?>
<!-- Kullanini giris yapmadiysa gorunecek olan bolum -->
<h2><?php _e('Giris yapin') ?></h2>
<ul>
<form name="loginform" id="loginform" action="http://sitenizin ismi/wp-login.php" method="post">
<br /><label>Kullanici Adi:<br /><input type="text" name="log" id="log" value="" size="20" tabindex="1" /></label>
<br /><label>Parola:<br /> <input type="password" name="pwd" id="pwd" value="" size="20" tabindex="2" /></label>
<br /><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" />Beni unutma</label>
<br /><input type="submit" name="submit" id="login" value="Giris »" tabindex="4" />
</form>
<h2><?php _e('Kayit olun') ?></h2>
<?php wp_register(); ?>
</ul>
<?php } endif; ?>
