I have two web sites running WordPress 3.5 with Theme Twenty Eleven. I am trying to set them up the same to make it easier to manage. On both web sites I have two menus named loggedin and loggedout. I used the code below in functions.php to switch the menus based on the user being logged in or not. This works on one web site and not the other. Can anyone show me how they modified functions.php to switch menus. Then maybe I can figure this out. Thanks
// This theme uses wp_nav_menu() in one location.
register_nav_menu( ‘primary’, __( ‘Primary Menu’, ‘twentyeleven’ ) );
//I ADDED THE TWO LINES BELOW. MY MENUS ARE loggedin AND loggedout
register_nav_menu( ‘primary’, __( ‘Logged In Menu’, ‘loggedin’ ) );
register_nav_menu( ‘primary’, __( ‘Logged Out Menu’, ‘loggedout’ ) );