Help with BuddyPress Friends Loop
I’m trying to output a modified version of the friends loop on the homepage … but I am getting the error: bp_has_friendships is not defined. I have no problems putting a modified members or groups loop together. I’m using BP 1.2 and WP single user 2.9.1 Is there something extra I need to include in order to get this working?
<?php if ( bp_has_friendships('type=active&per_page=6&max=50&user_id=' . bp_loggedin_user_id() ) ) : ?>
<?php while ( bp_user_friendships() ) : bp_the_friendship(); ?>
<?php endwhile; ?>
<?php else: ?>
You have no friends.
<?php echo ""; ?>
<?php endif; ?>
You must be logged in to reply to this topic.