Can\'t get some parameters inside my Site Members Loop
-
Hi ! I’m new here so I hope I won’t ask too many stupid questions.
I wrote a Site Members Loop based on the documentation that looks like that:
<ul id="members-list" class="item-list">
<?php while ( bp_site_members() ) : bp_the_site_member(); ?>
<li>
<a href="<?php bp_the_site_member_link() ?>">
<?php echo bp_get_the_site_member_avatar() ?>
</a>
<a href="<?php bp_the_site_member_link() ?>"><?php bp_the_site_member_name() ?></a> -
<?php bp_the_site_member_last_active() ?><br />
<?php bp_the_site_member_total_friend_count() ?> amis -
<?php bp_the_site_member_add_friend_button() ?>
</li>
<?php endwhile; ?>
</ul>I can retrieve the member’s avatar, name, link and activity juste fine, but can’t get the friend count or the add friend button…
Did I get something wrong about those custom BP Loops and template tags ?
Thanks !
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.