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 ?

7 Responses to Hide menu items too ?

  1. antonio March 28, 2015 at 7:31 am #

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

  2. Paul March 27, 2015 at 11:41 am #

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

    • antonio March 27, 2015 at 2:38 pm #

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

  3. Paul March 27, 2015 at 11:26 am #

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

  4. Paul March 27, 2015 at 11:12 am #

    Where and how would I use that code ?

    • antonio March 27, 2015 at 11:15 am #

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

  5. antonio March 27, 2015 at 11:10 am #

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

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account