Deprecated: Hook wpmem_inc_login_args is deprecated since version 3.3.0! Use wpmem_login_form_defaults instead. in /var/www/vhosts/rocketgeek.com/test.rocketgeek.com/wp/wp-includes/functions.php on line 6078
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?]