@tracybyrne
Active 1 year ago
-
bp-help replied to the topic URL for Menu to Logged-in User's Profile Page in the forum How-to & Troubleshooting 11 years, 6 months ago
@tracybyrne
Add this to bp-custom.php and it will create a nav menu item that will take the users to their profile.
[Read more]
add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' );
function my_nav_menu_profile_link($menu) {
if (!is_user_logged_in())
return $menu;
else
$profilelink = '<li><a href="' . bp_loggedin_user_domain( '/' ) . '">' .…