WordPress.org

Ready to get started?Download WordPress

Forums

Private BuddyPress
[resolved] Hide BuddyPress menue (2 posts)

  1. Ulfsby Webdesign
    Member
    Posted 3 years ago #

    Thank you for uppgrading your plugin to show all non-BuddyPress content. Is it possible to hide the BuddyPress menue items when the user is not logged in? Now the user comes to the login page when cklicking these menue items.

    http://wordpress.org/extend/plugins/private-buddypress/

  2. Dennis Morhardt
    Member
    Plugin Author

    Posted 3 years ago #

    This is not possible, because for this are changes in the theme are necessary. But you can do it for yourself. Wrap the menu items into this code:

    <?php if ( is_user_logged_in() ): ?>
    The menu item
    <?php endif; ?>

    Now the items are only showed if the user is logged in.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic