Skip to:
Content
Pages
Categories
Search
Top
Bottom

custom output from registration form


  • bennyhoang
    Participant

    @bennyhoang

    Hey!
    i am looking for a way to output fields that i only want, so i can manage the structure and css to how things will look like.

    I am currently in the file bp-themes/~register.php

    In wp adminstration i have already set up the fields, but i wanna divide everything in 3 pieces so i can do a step-register concept (http://codepen.io/atakan/pen/gqbIz)
    can anyone tell me how i could for instance output only label for email?

    Thank you very much

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

  • shanebp
    Moderator

    @shanebp

    can anyone tell me how i could for instance output only label for email?

    In register.php…

    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
         if( 'Email' == bp_get_the_profile_field_name() )
            echo 'Email: this is the email field';
    
    //etc

    You could use that approach for xprofile fields.
    But ’email’ is not an xprofile field.
    It is hardcoded in register.php ~Line 77


    bennyhoang
    Participant

    @bennyhoang

    Thanks for reply!
    What if i have added custom fields? like: Spotify, Facebook account etc?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘custom output from registration form’ is closed to new replies.
Skip to toolbar