Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,003
- How-to & Troubleshooting
- 129,526
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,495
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,169
-
`<?php
$field_id = xprofile_get_field_id_from_name( ‘Type’ );
$field = xprofile_get_field( $field_id );
$value = $field->data->value;
if ( bp_the_profile_group_name() == ‘Type’ && $value == ‘114’ ) {
( bp_has_profile( ‘profile_group_id=1,3,4′ ) ) : while ( bp_profile_groups() ) : bp_the_profile_group();
}
?>`
Full code, which should be placed in profile-loop.php,
Did I understand correctly, what @boonebgorges tried to explain?
@hnla please, take a look on this.
thank you guys!
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS