Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: My Profile Link


Tracedef
Participant

@tracedef

Correction:

<?php if ( is_user_logged_in() ) {
if ( strpos($_SERVER['REQUEST_URI'], "/members/{$current_user->user_login}/") !== false ) { ?>

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

<?php }
} ?>

Skip to toolbar