[Resolved] Retrieving username within the members-loop
I have been editing the member list that’s shown on the member directory page. I am trying to show the username instead of the full name next to the avatar. So within the loop
<?php while ( bp_members() ) : bp_the_member(); ?>I tried using
<?php echo bp_displayed_user_username(); ?>, but that doesn’t show anything on the page. Where am I going wrong?
You must be logged in to reply to this topic.