Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( bp_has_profile('profile_group_id=3&user_id=' . bp_loggedin_user_id()) ) : ?>
- <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
- <ul id="profile-groups">
- <?php if ( bp_profile_group_has_fields() ) : ?>
- <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
- <?php if ( bp_field_has_data() ) : ?>
- <li>
- <?php bp_the_profile_field_value(); ?>
- </li>
- <?php endif; ?>
- <?php endwhile; ?>
- <?php endif; ?>
- </ul>
- <?php endwhile; ?>
- <?php endif;?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement