Results 1 to 9 of 9

Thread: How do I edit wp-login.php?

  1. #1
    Thread Starter
    Newbie
    Not a Verified Customer
    backstrom's Avatar
    Join Date
    Jan 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How do I edit wp-login.php?

    I know that this probably is not a classipress problem. But anyway, when I trie to translate/change text in the wp-login php file it doesn't change. It still says "username" and "password" even after I've translated it. What do I do wrong? What do I need to do? Thank you.

  2. #2
    AppThemes Affiliate mikee's Avatar
    Join Date
    Jan 2010
    Location
    New Zealand
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How do I edit wp-login.php?

    Try this http://wordpress.org/extend/plugins/bm-custom-login/

  3. #3
    Veteran pointandstare's Avatar
    Join Date
    Apr 2009
    Location
    London, England
    Posts
    311
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: How do I edit wp-login.php?

    It's best not to edit core files directly but use a plugin instead otherwise updates will be a pain.

  4. #4
    Thread Starter
    Newbie
    Not a Verified Customer
    backstrom's Avatar
    Join Date
    Jan 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How do I edit wp-login.php?

    Quote Originally Posted by MikeE
    Try this http://wordpress.org/extend/plugins/bm-custom-login/" onclick="window.open(this.href);return false;
    This plugin should do the job. Thank you mate ...

  5. #5
    Thread Starter
    Newbie
    Not a Verified Customer
    backstrom's Avatar
    Join Date
    Jan 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How do I edit wp-login.php?

    actually it didnt. i dont need to change any img, its all about translating and editing text into swedish. help still wanted! thanx.

  6. #6
    Veteran pointandstare's Avatar
    Join Date
    Apr 2009
    Location
    London, England
    Posts
    311
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: How do I edit wp-login.php?

    Have a look at theme my login.

  7. #7
    Thread Starter
    Newbie
    Not a Verified Customer
    backstrom's Avatar
    Join Date
    Jan 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How do I edit wp-login.php?

    Quote Originally Posted by PointandStare
    Have a look at theme my login.
    Ok, I gave it a try and activated the plugin. But I still can't figure out where to edit the text. I completely translated the classipress theme into swedish and now it's only the login/register-files left. Is it because it's a core-file it's not working? When I upgrade later on I just copy original wp-login file into the wp directory.

  8. #8
    Veteran taylerj's Avatar
    Join Date
    Apr 2009
    Location
    Las Vegas, NV
    Posts
    380
    Thanks
    1
    Thanked 8 Times in 6 Posts

    Re: How do I edit wp-login.php?

    the wp-login file is in the root of your wordpress install.
    Eric is best known in the forum for his in depth tutorials. He started in design 4 years ago and then discovered WordPress and has been coding and hacking themes and plugins ever since. He's quite helpful if you have any questions for him in the forum. Eric also makes his own WordPress themes and plugins and provides ClassiPress consulting on the side. David Cowgill - (Owner of Classipress)

  9. #9
    thomman's Avatar
    Join Date
    Apr 2009
    Location
    Cochin, Kerala, India
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How do I edit wp-login.php?

    What you need to do is open custom-options.php in the functions folder in classipress theme directory and after line 100 or so you have the section





    <label for="user_login"><?php _e('Username:','cp') ?></label>

    <input name="log" value="<?php echo attribute_escape(stripslashes($_POST['log'])); ?>" class="mid" id="user_login" type="text" />




    <label for="user_pass"><?php _e('Password:','cp') ?></label>

    <input name="pwd" class="mid" id="user_pass" type="password" />




    </p>

    Replace Username and Password in ?php _e( sections with whatever you want.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)