Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author donmik

    (@atallos)

    Yes, of course you can. You need to change the registration page in your theme. The registration page is located in: your-theme/registration/register.php.

    You need to avoid displaying all profile fields but name field. So inside the loop, you need to write this if.

    Search this line:
    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>

    After this line, write this:
    <?php if ('Name' != bp_get_the_profile_field_name()) continue; ?>

    If you give another name to this field, you need to change ‘Name’ by the name you put.

    Remember if you want this to work all the profile fields you are hiding need to be Not required. If they’re required this should not work.

    Thread Starter Andy

    (@anandp)

    Hi,
    Awesome, it worked like a charm ??

    thanks a lot for quick help.

    Regards,
    Anand

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Compact Registration Form’ is closed to new replies.