[Plugin: Membership lite] Custom menu not showing up
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Membership lite] Custom menu not showing up’ is closed to new replies.