I installed jetpack to my wordpress blog site. How can I hide
jetpack to contributors, and show it only to administrators?
put on hold as off-topic by Mark Kaplun, birgire, Pieter Goosen, G. M., Johannes Pille 2 days ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
This code will do the trick. Create a file,
To re-enable JetPack for all users, simply delete that file, or rename it. I usually append
You can use a custom plugin, that hide this item in the menu, if the current user have the role "contributor".
The jetpack plugin allow the menu item for all roles, there have the capability
A example for a custom plugin, there remove this menu item, if the user have not the role
More background about this topic do you find as example in this post.
Alternative is a plugin, that give you a options for this, like Adminimize. This plugin allow to hide different areas, objekt for different roles. A little bid easier to go to your goal, but more options as custom plugin.