Support » Fixing WordPress » Adding Images to my login screen?

  • I saw a couple days ago, that someone had added a little image to the “user” and “password” fields. How is this done?

    I’d like to add small little icons inside of the white box (where you enter your info), but I am an idiot when it comes to coding.

    Thank you for your help!

Viewing 1 replies (of 1 total)
  • Look in WP root for wp-login.php.
    Look inside for this or similar:
    <form name="loginform" id="loginform" action="wp-login.php" method="post">
    <p><label><?php _e('Username:') ?><br /><input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1); ?>" size="20" tabindex="1" /></label></p>
    <p><label><?php _e('Password:') ?><br /> <input type="password" name="pwd" id="pwd" value="" size="20" tabindex="2" /></label></p>
    <label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" />
    <?php _e('Remember me'); ?></label></p>
    <p class="submit">
    <input type="submit" name="submit" id="submit" value="<?php _e('Login'); ?> &raquo;" tabindex="4" />
    <input type="hidden" name="redirect_to" value="<?php echo $redirect_to; ?>" />

    Put it in the appropriate place.
    Careful – there are 2 forms – one is for lost passwords.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding Images to my login screen?’ is closed to new replies.