Over in this post, I described a method of displaying different menus to users based on their login status by setting up your theme to display the different menus. But isn’t there an easier way that doesn’t involve theme edits?
Yes. And I’m glad you asked that question.
This method is even easier and simply requires you to drop the included code snippet into your theme’s functions.php file. You will need to update the variable names in the snippet to reflect your menu names.
To gain full access to WP-Members premium content, a current support subscription is required. You can purchase
an annual support subscription for as little as $59, which provides you with access to priority support, a
customer support forum, access to code snippets, and more.
Why wait? Choose your subscription option here.
[Why join?]