Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Only show usernames


2bak860
Participant

@2bak860

Hi John, thanks for your reply – yes, I mean user_login.

I’m editing the profile-header.php in bpmember. I’ve added your code, but now no username displays:

<div id="profile-name">
<h1 class="fn"><a href="<?php bp_user_link() ?>"><?php bp_core_get_username($user_id); ?></a></h1>

<?php if( function_exists('bp_user_status') ) : ?>
<p class="status"><?php bp_user_status() ?></p>
<?php endif; ?>
</div>

Any help appreciated!

Skip to toolbar