Re: How to add to the “My Account” section of the nav?
Or I could have a link outside the bar and next to the Home,Members,Groups ETC but I only want logged in users to be able to see the link. Like this:
Home, Write A Post, Members, Groups
And when users are not logged in they don’t see Write A Post.
I have included this code in the header.php and the link is there but how do I change it to only allow logged in users to see it?
<li<?php if ( bp_is_front_page() ) : ?>class=”selected”<?php endif; ?>>