Support » Theme: Frisco for BuddyPress » Member Friend on Header

Viewing 2 replies - 1 through 2 (of 2 total)
  • #FIXED

    Put this code in anywhere on member-header.php (bp-default)

    <?php if ( bp_has_members( 'type=random&max=20&user_id' . bp_loggedin_user_id() ) & is_user_logged_in() ) : ?>
    					<?php while ( bp_members() ) : bp_the_member(); ?>
    						<a href="<?php bp_member_permalink() ?>"><?php bp_member_avatar('type=width=40&height=40') ?></a>
    					<?php endwhile; ?>
    <?php endif; ?>

    this will get the friends of user only logged members

    type=popular
    type=newest

    Theme Author David Carson

    (@davidtcarson)

    Marking as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Member Friend on Header’ is closed to new replies.