Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Retrieving username within the members-loop

  • @ks-webdesignercom

    Participant

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Retrieving username within the members-loop’ is closed to new replies.
Skip to toolbar