Use bp_group_has_members
and specific the id of the group.
For example: <php if ( bp_group_has_members( 'group_id=15' ) ) : ?>
etc.
Group Members Loop
Thank you very much for your quick response, it works almost perfect.
You can see it here: http://www.racingonlineclub.com/#agradecimientos
First of all I can not include administrators and moderators.
Is not this correct?
<? php if (bp_group_has_members (‘group_id = 1 & per_page = 20 & exclude_admins_mods = false’)):?>
And secondly I would like the name “bp_group_member_link” to appear under the avatar to better organize the grid.
Is this possible?
Currently the list is:
<li style = “display: inline;”>
<! – Example template tags you can use ->
<? php bp_group_member_avatar ()?>
<? php bp_group_member_link ()?>
</ li>
Thanks again.
Try 0 instead of false:
<?php if (bp_group_has_members ('group_id=1&per_page=20&exclude_admins_mods=0')) : ?>
Re layout: you’ll have to check those functions for filter hooks and use those to adjust layout. Or make your own calls.
Although I would have preferred a single-line slider, passing users, at the end, I got the fixed style exactly as I wanted it.
Home
Thank you very much for your help.