Title: Hide Username Field
Last modified: August 31, 2016

---

# Hide Username Field

 *  [jillianjm](https://wordpress.org/support/users/jillianjm/)
 * (@jillianjm)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/hide-username-field/)
 * Hi,
 * I want to hide the username field on the registration modal, please let me know
   which file has the code.
 * [https://wordpress.org/plugins/login-with-ajax/](https://wordpress.org/plugins/login-with-ajax/)

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

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/hide-username-field/#post-7289132)
 * although it might be possible thru css styling not sure if that is recommended
   however can you give us more details or your objective for hiding it?
 *  Thread Starter [jillianjm](https://wordpress.org/support/users/jillianjm/)
 * (@jillianjm)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/hide-username-field/#post-7289143)
 * Hi Angelo,
 * Please let me know how I can hide the <p> tag in the registration form that shows
   the username label and username field. I am enabling registration and login on
   my site only via email. At the backend I intend to use email address as username
   as well at the time of registration.
 * Need help to do the following modifications in the plugin:
 * 1. Hide the username field in the register form using css
    2. Use the email given
   by user on the register form as username also and register the user.
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/hide-username-field/#post-7289365)
 * for customizing the widget, see our notes section – [https://wordpress.org/plugins/login-with-ajax/other_notes/](https://wordpress.org/plugins/login-with-ajax/other_notes/)
 * the template folder you want is ‘modal’
 * As for #2, you’d need to probably hook in really earlier than 10 in init and 
   modify the $_REQUEST variables so we use the email as a username too. You’ll 
   need to dig into our code to figure that out.
 *  [karlmeral](https://wordpress.org/support/users/karlmeral/)
 * (@karlmeral)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/hide-username-field/#post-8857060)
 * i have a security plugin managing this

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

The topic ‘Hide Username Field’ is closed to new replies.

 * ![](https://ps.w.org/login-with-ajax/assets/icon-256x256.png?rev=976165)
 * [Login With Ajax - Fast Logins, 2FA, Redirects](https://wordpress.org/plugins/login-with-ajax/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/login-with-ajax/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/login-with-ajax/)
 * [Active Topics](https://wordpress.org/support/plugin/login-with-ajax/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/login-with-ajax/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/login-with-ajax/reviews/)

## Tags

 * [register form](https://wordpress.org/support/topic-tag/register-form/)

 * 4 replies
 * 4 participants
 * Last reply from: [karlmeral](https://wordpress.org/support/users/karlmeral/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/hide-username-field/#post-8857060)
 * Status: not resolved