To make sure that last logout link is removed you should be able to do this:
function jemmatates_logout_nav_link( $logout_link ) {
$logout_link = '';
return $logout_link;
}
add_filter( 'bp_logout_nav_link', 'jemmatates_logout_nav_link' );
You’re an angel! Thank you this worked perfectly!
Have you any idea how to do the same for this random first link that appears when using the :
<?php bp_get_loggedin_user_nav(); ?>
The code for the weird ‘blank’ link is this:
<li id=”li-nav-“>
I have tried hiding it myself using the code you posted tweaking it slightly to fit with the blank link but it didn’t work, probably cause I’m php stupid..
Any help greatly appreciated!
Thanks
Jem
It truncated the code I tried to show you, hopefully this will work:
<li id="li-nav-">
<a id="my-" href=""></a>
</li>
You could hide that with CSS?
#li-nav- {
display: none;
}