Skip to:
Content
Pages
Categories
Search
Top
Bottom

Echo displayed users profile links


  • thejameshardy
    Participant

    @thejameshardy

    Hi guys I have deleted the <?php bp_get_displayed_user_nav(); ?> and would like to one by one echo out the user links on the profile page how I see fit but using the code

    <li class="profile-link"><a href="<?php echo bp_core_get_user_domain( $bp->displayed_user->id ); ?>/friends"><?php _e("Activity")?></a></li>

    Whiich I thought should work but doesnt as it just produces htttp://example.com/friends without the users name.

    Anyone suggestions would be great! Thank you!

  • You must be logged in to reply to this topic.
Skip to toolbar