Alternative Menu for logged in users
-
My Site is located at ClubPinata and since it’s a membership driven site, I want to hide certain menu items depending on whether the user is logged in or not. If a user is logged off all I want him to see is Home, About Us, and Register. If they’re logged in, well they can see all the rest. I’ve tried editing my header theme and look for wp_list_pages but it’s nowhere to be found! Instead what controls this menu is some odd code like this:
<div id="menu-wrap"> <?php wp_nav_menu(array('theme_location' => 'main', 'menu_id' => 'menu')); ?> </div>
I managed to make it work at some point, but now I forgot how and can’t get it back.
The theme I’m using is called Pendulum.
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Alternative Menu for logged in users’ is closed to new replies.