• <?php if ( is_user_logged_in() ) : ?>
    [whatever menu items you wish to hide from public]
    <?php endif; ?>

    What i want to do is to hide or block activity, member and groups from non members.

    I have used wordpress access plugin but it only hides pages you have created yourself rather than buddypress activity, member and groups.

    So how do I put activity, member and groups in the above bracket. Do I use full stops or commas to separate them.

    <?php if ( is_user_logged_in() ) : ?>
    [activity, members, groups]
    <?php endif; ?>

    Please help. I will put this in the header above nav in buddypress.

    Please help

  • The topic ‘menu activity and groups’ is closed to new replies.