Re: Help with BuddyPress Friends Loop
user_id=’ . $user_id . ‘&type=alphabetical&per_page=0’ doesn’t seem to filter it to only friends of that user … looks like it’s posting random members. Not sure what I’m doing wrong since I get no errors.
Code:
<?php if ( bp_has_members( ‘user_id=’ . $user_id . ‘&type=alphabetical&per_page=0’ . $instance[‘max_members’] ) ) : ?>