Re: Clean up xprofile in registration page: rearrange statements
In your register template registration/register.php you need to move the line,
bp_the_profile_field_description()
, into each type of xprofile field ( if ( 'textbox' == bp_get_the_profile_field_type() ) :
, if ( 'textarea' == bp_get_the_profile_field_type() ) :
, if ( 'selectbox' == bp_get_the_profile_field_type() ) :
, etc) below the label code of the respective xprofile field type.
For example. For the textbox field type you would do the following: http://pastebin.com/EJUTePGn
(Tried to post this in the forum, but it seems that the bbPress code strips out php tags no matter what you wrap them in)