bp_the_profile_field(); ?> <?php if (bp_field_has_data()) { ?> <tr> <td><?php bp_the_profile_field_name(); ?> </td> <td><?php bp_the_profile_field_value(); ?> </td> </tr> <?php } ?> <?php do_action('bp_profile_field_item'); ?> <?php }
<?php if ( 1 != bp_get_the_profile_group_id() ) : ?> <h4><?php bp_the_profile_group_name() ?></h4> <?php endif; ?> <table class="profile-fields zebra"> <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> <?php if ( bp_field_has_data() ) : ?> <tr<?php bp_field_css_class() ?>> <td class="label"> <?php bp_the_profile_field_name() ?> </td> <td class="data"> <?php bp_the_profile_field_value() ?> </td> </tr> <?php endif; ?> <?php do_action( 'bp_profile_field_item' ) ?> <?php endwhile; ?> </table> </div> <?php do_action( 'bp_after_profile_field_content' ) ?> <?php endif; ?>