Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show menu bar only logged in users

  • Profile photo of susi80
    Susi80
    Participant

    @susi80

    Hello,

    could everybody tell me if there is a possibility to show the menu bar (links: index/members/groups/blogs) only to logged in users?

    Please help me,

    Thank you very much

    Susi

Viewing 2 replies - 1 through 2 (of 2 total)
  • Profile photo of David Lewis
    David Lewis
    Participant

    @takeo

    Conditionals… i.e.

    <?php if ( is_user_logged_in() ) : ?>
    logged in stuff
    <?php endif; ?>
    <?php if ( !is_user_logged_in() ) : ?>
    logged out stuff
    <?php endif; ?>

    Profile photo of susi80
    Susi80
    Participant

    @susi80

    Thanks very much, David!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show menu bar only logged in users’ is closed to new replies.