The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Adding Images to my login screen? (2 posts)

  1. oseary
    Posted 10 years ago #

    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!

  2. Samuel B

    Posted 10 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic