Hi,
You can not delete role if it is assigned at least to one user. Reassign roles 1st. Then custom roles without users will be available for deletion.
In general custom capabilities for the custom post type should be added directly. WordPress does not make it when execute custom post type registration code. So if you add CPT ‘video’ with capability type different from the default ‘post’, you should add custom capabilities, like ‘edit_videos’, ‘publish_videos’, etc. yourself.
thank you very much for your answer. Now I can delete the role – it works fine!
I did the custom capabilies at the function.php and now I can work on it. But I can not read and work on …_others_stellenangebote. I actived them, but I doesn’t appear, if I log in with a user role with this rights…
I don’t understand where the mistake is… do you have a tip for me?
thank you
steph
hey, now I solved my problem. I copy for the new role the admin rights and changed the visibility at adminimize. now it works, thank you for thinking with me ;))
greetings
steph
I tried all rights now, and the fault was “manage-options”. this must be actived…
why? I don’t know. but now it works to see and edit others-“custom-capabilities” ;))
greetings
steph