Email: info@wpitaly.it
<?php
if (empty($_COOKIE[USER_COOKIE]) ){
?>
<form name="loginform" id="loginform" action="<?php bloginfo('siteurl'); ?>/wp-login.php" method="post">
<label>Nome utente:<input type="text" name="log" id="log" value="" size="20" tabindex="1" /></label>
<label>Password: <input type="password" name="pwd" id="pwd" value="" size="20" tabindex="2" /></label>
<label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" />
Ricordami</label>
<p class="submit">
<input type="submit" name="submit" id="submit" value="Login »" tabindex="4" />
<input type="hidden" name="redirect_to" value="/wp-admin/" />
</form>
<?php
}
else {
?>
Ciao <?php echo wp_specialchars(stripslashes($user_login), 1); ?>
<p align="center">/wp-admin/">Accedi
<?php
}
?>
poi ti diverti un po’ tu a personalizzare il codice del form.
Ancke io voglio fare la stessa cosa…ma in ke pagina devo inserire questo codice?
Grazie
Ciau!
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0