Delicate : How to change menu after user login
HI , i am new to wordpress. i would like to know how to change the visitor menu to user menu after user login . currently i using delicate template .
Here is my code :
if( is_user_logged_in() )
$custom_menu = ‘LoginMenu’;
$custom_menu = ‘VisitorMenu’;
wp_nav_menu( array( ‘menu’ => $custom_menu, ‘theme_location’ => ‘primary’ ) );
but i don’t know how to move wp_footer to the menu bar . someone can help ?
- The topic ‘Delicate : How to change menu after user login’ is closed to new replies.