I have a WordPress site. There are many users. I want when an author logs in, the author who currently is currently logged on couldn’t access the “edit page” menu in the admin bar.
Is there any plugin to disable that?
I have a WordPress site. There are many users. I want when an author logs in, the author who currently is currently logged on couldn’t access the “edit page” menu in the admin bar.
Is there any plugin to disable that?
You must be logged in to post a comment.
You can use this plugin :
http://wordpress.org/extend/plugins/admin-bar-disabler/
OR Alternative and manual way is under if condition place this
E.g.
place this code in functions.php so that it will disable the admin bar for all the other users.
In your
functions.php
file, you can add one of the following code snippets to get the indicated results:// Only display to administrators
// Disable for specific role (in this case, ‘subscriber’)