Re: How to Display an Array of XProfile Groups
you can delete those groups in your profile field setup panel
what are you trying to achieve?Are you trying to display those based on user roles?
bp_get_the_profile_group_id() is returning only one ID you have to create an function that returns an array of id’s and then you need to loop over those and exclude 7 and 6.
you can try this
profile loop
`
<?php
if ( bp_profile_group_has_fields() && 6 != bp_get_the_profile_group_id() && 7 != bp_get_the_profile_group_id() ) :
?>
<div class="bp-widget “>
`