Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Help with new function


Jeff Sayre
Participant

@jeffsayre

In your member-loop.php file you can add this

<?php echo bp_core_get_username( bp_get_the_site_member_user_id() ) ?>

to this line:

<div class="item-title"><a href="<?php bp_the_site_member_link() ?>"><?php bp_the_site_member_name() ?></a></div>

You do that right before the closing “a” tag. But, just remember that whenever you do a theme upgrade, you’ll lose your customizations. This, of course, is assuming that you are using the default member’s theme that comes with BP.

You will have to do your own styling to output the user’s login where you want it to be positioned.

Skip to toolbar