Hide a Required field in buddypress registration

I want to know how to reduce the required registration fields in BuddyPress.
hide : username
and Name

add fields to Re Email

So the registration form will be:
-Re Email
-Re Password
thank you

  • Ash

    Hello there

    I hope you are well today and thanks for asking the question.

    You can't hide the username, as without username how you will login in admin?
    The name field is compulsory for BP. So, theoretically you can't remove this too. But I have a solution (may be) to hide this. Please add this code in your footer.php

    <script type="text/javascript">
    	jQuery(document).ready(function($) {
    		var url = document.location.href;
    		if (url.indexOf("register/") >= 0) {
    			$('#signup_username').blur(function() {

    For re-email I found this thread helpful. Please take a look:

    Please let me know if it is helpful and feel free to ask more question if you have.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.