0

This question already has an answer here:

how to write code for this requirement and i want to show menus only in header menu with different menus to logged users

marked as duplicate by fuxia Feb 7 '18 at 16:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

Create defferent menus in admin panel. Go to header.php and create condition, where you need change menus. Search wp_nav_menu() function and wrap into like this condition:

if(is_user_logged_in()){
    // call menu for logged users 
}else{
   // for non logged users
}

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