Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: My Profile Link


tracedef
Participant

@tracedef

Thanks! I don’t know how to make a function, but I did get help from Ron at musupport.net…. this is what we ended up with. I like it because it personalizes the link with the persons name which is a strong call to action for them to look at their own profile and notice a lot of the functionality that otherwise goes unnoticed if you are just looking at the groups, members or blogs pages……:

<?php if ( is_user_logged_in() ) {
if ( $displayed_userid == $current_user->ID ) { ?>

<li class="selected"><?php bp_loggedinuser_link () ?></li>
<?php } else { ?>
<li><?php bp_loggedinuser_link () ?></li>

<?php }

} ?>

Skip to toolbar