Title: Show empty fields
Last modified: August 21, 2016

---

# Show empty fields

 *  Resolved [Rami](https://wordpress.org/support/users/ramirocastro/)
 * (@ramirocastro)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/show-empty-fields/)
 * **Hi guys, how to make the EMPTY fields visible (no content)?**
 * so far it’s showing on those fields with some content.
 * I tried removing the ‘<?php if ( bp_field_has_data() ) : ?>’ from buddypress 
   profile-loop.php, but it seems that it’s not enough.
 * is there something to be done in your plugin, or it’s purely a buddypress plugin
   change?
 * Cheers from London
    Ramiro.
 * [http://wordpress.org/extend/plugins/buddypress-xprofile-custom-fields-type/](http://wordpress.org/extend/plugins/buddypress-xprofile-custom-fields-type/)

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

 *  Plugin Author [donmik](https://wordpress.org/support/users/atallos/)
 * (@atallos)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/show-empty-fields/#post-3897443)
 * Hi,
 * Sorry for the delay. I think [this post](http://codex.buddypress.org/developer/developer-docs/loops-reference/the-profile-fields-loop-bp_has_profile/)
   will help you.
 * You can do this in the profile-loop, doing this:
 * `<?php if ( bp_has_profile(array('hide_empty_fields' => 0)) ) : ?>`
 * It will show all your fields even if they are empty.
 * You need also to delete the if you commented
 * `<?php if ( bp_field_has_data() ) : ?>`
 *  Thread Starter [Rami](https://wordpress.org/support/users/ramirocastro/)
 * (@ramirocastro)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/show-empty-fields/#post-3897446)
 * Thank you Donmik, no worries.
 * Yes I found the same solution and it worked great, thanks anyway 🙂
 * Cheers
    Ramiro.

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

The topic ‘Show empty fields’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/buddypress-xprofile-custom-fields-
   type.svg)
 * [Buddypress Xprofile Custom Fields Type](https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/reviews/)

## Tags

 * [Empty Fields](https://wordpress.org/support/topic-tag/empty-fields/)

 * 2 replies
 * 2 participants
 * Last reply from: [Rami](https://wordpress.org/support/users/ramirocastro/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/show-empty-fields/#post-3897446)
 * Status: resolved