Re: How to add a profile link to navigation bar
@modemlooper sorry should have been more descriptive. I use one menu if a user is not logged in and another if they are, Like so:
`
if( !is_user_logged_in() ):
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) );
else:
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘logged_in’ ) );
endif;
`
This works fine for me unless I just haven’t run into any issues yet. Just started using BP.