admin管理员组

文章数量:1415111

I searched but unable to find the answer. I am using Pods Framework for creating custom post types in Wordpress. I want each user roles to have different media upload folder so like I have a post type 'local news' and another post type 'books' and two user roles like 'news editor' and 'book publisher'. So when news editor upload images in local news post type then it should not have access to all my images from uploads directory. and same with book publisher.

So they can not see each others media and it will also be easy to manage images with separate folder for each post type. How to achieve this ?

I searched but unable to find the answer. I am using Pods Framework for creating custom post types in Wordpress. I want each user roles to have different media upload folder so like I have a post type 'local news' and another post type 'books' and two user roles like 'news editor' and 'book publisher'. So when news editor upload images in local news post type then it should not have access to all my images from uploads directory. and same with book publisher.

So they can not see each others media and it will also be easy to manage images with separate folder for each post type. How to achieve this ?

Share Improve this question asked Aug 27, 2019 at 10:57 MayanktakerMayanktaker 1031 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

WPBeginner appears to have an article that addresses what you are talking about. Failing that, you might Google search for "wordpress media access control". I found several plugins that might work for you.

本文标签: customizationWordpress Pods Custom Post Typeseparate Media Upload folder for each custom Post Types