Stop ’small carousel’ members list on profile page displaying ’friends only’
-
A fairly normal page loop in the header might do something like: `bp_has_members(“type=random&per_page=12&max=12&user_id=false”)`
Looking through the code, the small carousel of members ultimately calls `bp_has_members()` in `plugins/buddypress/bp-core/bp-core-templatetags.php`
This over rides any user_id arguments with this line:
`if ( !empty( $bp->displayed_user->id ) )
$user_id = $bp->displayed_user->id;`
With no further filters beyond that. This means that I cannot change the behaviour of this?Any ideas on how I might make it work, for example, just as on other pages?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Stop ’small carousel’ members list on profile page displaying ’friends only’’ is closed to new replies.