Hide menu items too ?

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 ?


Comments

7 responses to “Hide menu items too ?”

  1. antonio Avatar
    antonio

    Thanks Paul,
    you must change ‘your_capability’ by one of your capabilities (e.g. ‘specialproducts’) in your menu item.
    Regards

  2. Is there a way I can get you an admin login to take a look ??

    1. antonio Avatar
      antonio

      Yes, you can send us dashboard admin access to support at itthinx dot com (please indicate this topic in the email).
      Thanks

  3. OK. Tried that, no luck it stops user with the correct permissions from seeing the menu too ……

  4. Where and how would I use that code ?

    1. antonio Avatar
      antonio

      When you install the Menu Item Visibility Control, you can add the code in the menu item. Please have a look to screenshots.
      Thanks

  5. antonio Avatar
    antonio

    Hi Paul,
    you can use Menu Item Visibility Control plugin using this code: current_user_can('your_capability');
    Regards

Share