Show empty fields on ‘edit profile’ page (frontend)
-
I just found a little problem on my website.
As an admin I can edit directly on the Front-End the profiles of my users if there is bad data.I show the fields like this (I have only 1 group):
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> // many things are going on here! but nothing special <?php enwhile; ?>
The problem is… EMPTY fields are not in the output!
I tried to put
array('hide_empty_fields' => 0)
intobp_the_profile_field()
but this doesn’t work.I handle everything (display of the profile, editing of the profile fields etc) in
<my-theme>/buddypress/members/single/cover-image-header.php
Please help me 🙁
- You must be logged in to reply to this topic.