• Resolved Ken Young

    (@uncannyken)


    This should be a simple replacement and I’m pretty sure I’ve done it with this very plugin on another site, but it doesn’t seem to be working now. Here’s the text in wp-login.php:

    <label for="user_login"><?php _e('Username') ?><br />
    		<input type="text" name="log" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" /></label>

    The text to replace is “Username”, and according to the WordPress documentation, if a domain isn’t specified, its value is “default”. I’ve tried it with Text Domain = default and Text Domain = [blank], but neither seem to work. I have WPML installed. (though I don’t think that would make a difference?)

    Please let me know if you can think of anything else I could try.

    https://wordpress.org/plugins/say-what/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Lee Willis

    (@leewillis77)

    Setting “Original string” to “Username”, and leaving text domain, and text context blank works for me here. I suspect WPML may be interfering.

    Thread Starter Ken Young

    (@uncannyken)

    Thanks for the quick reply, Lee. I’ll try disabling the plugin and see if that helps.

    Thread Starter Ken Young

    (@uncannyken)

    Unfortunately, disabling WPML doesn’t fix the issue.

    I’ve also got another site that doesn’t have WPML installed where I’m trying to change text in a BuddyPress login widget. The the domain is “buddypress”. But it’s not working there either. Does it work for widgets? Same theme as the other site (The7), so maybe it’s the theme that’s the problem.

    Plugin Author Lee Willis

    (@leewillis77)

    On a default install of WP / BuddyPress I can change the text in the BuddyPress login widget with the following settings:

    http://snag.gy/smorJ.jpg

    If that’s not working for you, then something must be interfering – either another plugin, or your theme.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Replace Username with Email on login form’ is closed to new replies.