Show different menu to logged in users in WordPress - Show different menus to logged-in users in WordPress

Show different menus to logged-in users in WordPress

Here is a small snippet that you can add to your functions.php file to show different menus to logged-in users in WordPress. In this example 5 is the menu ID of the menu shown to logged-in users and 6 is the ID for the menu shown to guests. So, create two menus and copy their … Read more