Sorry forgot to mention WordPress V.3.51 BuddyPress 1.6.4
I am watching this post because I need the answer too.
hi @amanor, @addd4567
you have to create a child theme to di this correctly.
Then add /bp-default/header.php to /your-child/header.php
Line 42 is a php content who begins by wp_nav…..
At the begin of the line, just after the php opening tag, add
if ( is_user_logged_in() ):
wp_nav_content…. bla bla…
and at the end of the line, just before the php closing tag, add endif;
The nav bar is now hidden for any not logged in visitor
Thanks Chouf I will give that ago.
Thank you Chouf. I am using wmpu’s Holder BP theme, with the block style selected. In my header.php file, I only find wp_title and wp_head.
@amanor,
don’t know your theme, sorry !
Remind that it’s a premium theme with Unlimited Live & Q&A Support from the WordPress experts, for anything to do with WordPress at all!
So you have to ask the “experts” at wpmu dev. Support is price included…. i guess.