Re: How to make a private community?
Well, just add that page to the first if statement in the function. Something like this:
`function sh_walled_garden()
{
global $bp;
if( bp_is_register_page() || bp_is_activation_page() || $bp->is_directory && $bp->current_component == ‘your-links-directory-slug’ )
return;
if( ! bp_is_blog_page() && ! is_user_logged_in() )
bp_core_redirect( $bp->root_domain .’/’. BP_REGISTER_SLUG );
}
add_action( ‘get_header’, ‘sh_walled_garden’ );`