Your cart is currently empty!
Hide menu items too ?
—
by
I have used the plugin to restrict access to the content of categories to the specific groups – which is working well. However I find that non-members can still see the category in the menu and it’s description. Can you advise in detail how to prevent this ?
Posted in Groups Restrict Categories
Comments
7 responses to “Hide menu items too ?”
Thanks Paul,
you must change ‘your_capability’ by one of your capabilities (e.g. ‘specialproducts’) in your menu item.
Regards
Is there a way I can get you an admin login to take a look ??
Yes, you can send us dashboard admin access to support at itthinx dot com (please indicate this topic in the email).
Thanks
OK. Tried that, no luck it stops user with the correct permissions from seeing the menu too ……
Where and how would I use that code ?
When you install the Menu Item Visibility Control, you can add the code in the menu item. Please have a look to screenshots.
Thanks
Hi Paul,
you can use Menu Item Visibility Control plugin using this code:
current_user_can('your_capability');
Regards