So, I want to create different menus for people who are logged in or not.
I got a reply that i should use a function
if (is_user_logged_in()) {
wp_name_menu(array('theme_location' => 'logged_user' ));
} else {
wp_nav_menu(array('theme_location' => 'new_user' ));
}
So, if I get this right, I put this into functions.php
which is located in my child theme (anywhere inside the file?), then I create another menu and where it is "logged_user" and "new_user" I enter the names of the menus?