Limit users by custom taxonomy and user roles

This is not duplicated post! I working on the custom theme and have 2 taxonomies: bezirk and ortsgruppen. bezirk acts like main group and ortsgruppen is the sub group under bezirk. I need to asign for each ortsgruppen in which bezirk belong. Both taxonomy are included in the post and custom post types dabei-gsi, homepage-slider, … Read more

Gutenberg Featured-Image-panel missing when user with custom role edits Custom Post Type

For a WordPress project I made a Custom Post Type in the usual manner. Also i made a custom role. I want users with that role to be able to make, edit and delete this CPT. I added the apropriate capabilities to this role. These are the caps: ‘level_1’ => true, // seems necessary to … Read more

Registration and Custom Post Types – How to synchronize information?

I am building a platform where service providers can offer their services to potential customers. Therefore, I have two user roles, one “customer” who can only create an account and read; and “providers” who can create an account, and publish a post with their account information. Here is the problem I am having: I created … Read more

Why do comment moderators need to have all create/edit/delete toboth posts and pages?

I struggled quitea bit to be able to set up my moderator account. Until I allowed all posts and pages capabilities and now the can finally moderate comments. I didn’t deactivate one by one precisely to see which would remove this. Nevertheless I couldn’t find any documentation anywhere about this. Onyl when I found another … Read more

Custom post type capabilities require “create_posts” to access the edit posts list page

I have a custom post type and a custom user role that I want to be able to do everything but delete and create this post type. However, this user role can’t view the dashboard’s list of posts for editing when I do not set the “create_{$post_type}” capability. Instead they see a white screen error … Read more