Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Hide profile field


r-a-y
Keymaster

@r-a-y

You have to ask 1000 and 1 times! ;)

You have to modify the profile loop (/members/single/profile/profile-loop.php)

Change this line:
while ( bp_profile_fields() ) : bp_the_profile_field();

to:
while ( bp_profile_fields() ) : bp_the_profile_field(); if ( bp_get_the_profile_field_id() != 'ID # YOU WANT TO SKIP' ) :

then change the corresponding endwhile; line to:
endif; endwhile;

That’s one way of doing it.

Skip to toolbar