• I’m using WPMU Membership Lite 2.0.6. I’ve got it setup so non-members can see certain pages and members can see other pages — works great, Love it. I’m wanting the nav menu to also change if a user has logged in. I feel that I’ve done everything right and it actually works if the membership plugin is disabled, but not if it is turned on.

    I registered 2 custom nav menus – user-menu and public-menu. In my header I have:

    if ( is_user_logged_in() ) {
      wp_nav_menu( array( 'theme_location' => 'user-menu' ) );
    } else {
      wp_nav_menu( array( 'theme_location' => 'public-menu' ) );
    }

    This works if the membership plugin is disabled, but when it is active, then no menu shows up at all (unless I am logged in as admin).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mslocum

    (@mslocum)

    To add some clarification…
    wp_nav_menu without parameters works for non-members. If I try to use a custom menu when members plugin is active, then it doesn’t print anything. If a member is logged in then the menu prints.

    I’ve tried adding menu rules to the levels section, and deleting all menu rules. I’m thinking WPMU Members is broken. Anyone had the same problem?

    Thread Starter mslocum

    (@mslocum)

    A re-install fixed it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Membership lite] Custom menu not showing up’ is closed to new replies.