Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is there a clean way of doing so? I would prefer doing that in functions.php using some action and/ or filter hooks. The 2nd-best option would be using some good plugin out there. (I haven't seen 1 suitable though)

I can always generate random and unique strings to be usernames in the registration forms and just hide it with CSS. I would imagine meddling with wp-login.php but that would be so ugly.

I am able to let users log in using email address and password, but not username now, partly referencing this. However, username still appears as a required field on the registration page which confuses people.

Updates
I've found that Register Plus Redux handles the login using email address instead of username well. However, I need to be able to modify the labels and texts on the registration page too (I need to put in Thai). It looks like there's no clean way but one will have to edit the codes in the plugins directly

share|improve this question
1  
Register Plus Redux support translation via standard po/mo files. You can translate the plugin in tour language using poedit or the codestyling localization plugin –  G. M. Sep 2 '13 at 18:47
    
Please follow up on the questions you asked, it's an important part of the process on WPSE - see What should I do when someone answers my question? and Why is voting important? for a deeper insight. Thank you! –  ialocin Nov 27 '13 at 22:01

2 Answers 2

The registration and login forms can be customized easily below a diggest from the codex:

Customizing The Registration Form

Theme and plugin developers can customize WordPress's built-in user registration page through the use of hooks.

Customizing the registration form involves utilizing the following three hooks:

  1. register_form
    Allows rendering of new HTML form elements.
  2. registration_errors
    Perform validation on form registration fields.
  3. user_register
    Save custom form data.

Customizing the Login Form

You can customize your WordPress login page with action hooks and filter hooks, including:

  • Actions in the of the document: login_enqueue_scripts, login_head.
  • Filters in the : login_headerurl, login_headertitle, login_message, login_errors.
  • Actions at the bottom of and below the form: login_form, login_footer.

To additionally inform yourself about the above mentioned hooks take a look at the codex page about the Plugin API, you will find the hooks at the Action Reference and the Filter Reference. Some additional, not mentioned hooks can be found at Adminstrative Actions Section especially. Not all of the hooks are documented well (or at all), so it might be necessary to take a look at the source.

share|improve this answer

Have you seen the "WP Email Login"-plugin? It should solve your problem.

share|improve this answer
    
As far as I can see, that plugin only handles login, and not Registration form. –  frnhr Apr 21 '13 at 2:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.