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"><br /> <?php while ( bp_site_members() ) : bp_the_site_member(); ?><br /> <br /> <li><br /> <br /> <a href="<?php bp_the_site_member_link() ?>"><br /> <?php echo bp_get_the_site_member_avatar() ?><br /> </a><br /> <a href="<?php bp_the_site_member_link() ?>"><?php bp_the_site_member_name() ?></a> -<br /> <?php bp_the_site_member_last_active() ?><br /><br /> <?php bp_the_site_member_total_friend_count() ?> amis -<br /> <?php bp_the_site_member_add_friend_button() ?><br /> </li><br /> <br /> <?php endwhile; ?><br /> </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)
- The topic ‘Can't get some parameters inside my Site Members Loop’ is closed to new replies.