Tag Info

Hot answers tagged

5

Usually, this should help: Open your database (with phpmyadmin, navicat, etc) Open the wp_user table and have a look for the ID of your admin user (usually 1) Open the wp_usermeta table and search for the row that has the user_id of your user paste the following string into the meta_value field of the row: a:1:{s:13:"administrator";b:1;} that should be ...


2

Since this is the 1st hit on google for this question, I feel this is the right place for an update: For me, I couldn't get it to work via edit_theme_options. Then I read the plugin source and found out that it's actually manage_options. And it worked. tl;dr: $role_object = get_role( 'editor' ); $role_object->add_cap( 'manage_options' ); works for me ...


1

Since the category widget on the post page only lets you create categories and not delete them, you could just hide access to the main category editor page for this user type, and allow them to still create categories within the post editor. You could do this with CSS or javascript, something like $('ul.wp-submenu ...



Only top voted, non community-wiki answers of a minimum length are eligible