Possible Duplicate:
How to Use the Function is_user_logged_in To Display Different Menus?

I wish to create a log in page, that displays like an extended menu for example (the people who land on the page first will not see this extended menu)

Now is it a case that i create a page that uses one menu? And another page that uses a different menu?

However i have used the menu in the header, so would i need to create a different page template that calls one header showing X menu, and then another one that shows Y menu which the customers will be directed to when they "log in"

Thankyou in advance. Kirsty


Use the is_user_logged_in() conditional to output a different menu depending on user login state. For example:

$theme_location = ( is_user_logged_in() ? 'header_logged_in' : 'header_not_logged_in' );

wp_nav_menu( array(
    'theme_location' => $theme_location
|improve this answer|||||

Not the answer you're looking for? Browse other questions tagged or ask your own question.