Daniel Macovei
Member
Posted 1 year ago #
I need to activate the Widgets for Editors in Adminimize plugin. I found this code that activates Menus, can you help me modify it so can be used for showing Widgets only? Thank you!!
// get the the role object
$role_object = get_role('editor');
// add $cap capability to this role object
$role_object->add_cap( 'edit_theme_options' );
http://wordpress.org/extend/plugins/adminimize/
no, not with the plugin Adminimize; use the plugin Members and change the capabilities on the role editor to add this item in the menu to this role. After this you can also use all possibilities with Adminimize.
Daniel Macovei
Member
Posted 12 months ago #