最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - Allow a page to be edited by a specific custom role

programmeradmin0浏览0评论

I have created multiple custom roles using the members plugin by Justin Tadlock.

Now i want certain pages to only be editable by the custom roles i select for them.

Is there a plugin i can use for that functionality or is that something i would have to code myself?

Thanks in advance.

I have created multiple custom roles using the members plugin by Justin Tadlock.

Now i want certain pages to only be editable by the custom roles i select for them.

Is there a plugin i can use for that functionality or is that something i would have to code myself?

Thanks in advance.

Share Improve this question asked Oct 31, 2019 at 16:11 Joris MenkeJoris Menke 11 bronze badge 1
  • This answer looks like it will do the trick, or at least get you on the right path: wordpress.stackexchange/a/259982/2807 – Dave Romsey Commented Nov 1, 2019 at 19:26
Add a comment  | 

1 Answer 1

Reset to default 0

I fixed it already.

I used the ACF User role selector to select roles per page. Then i made a checker for every page that matches the current logged in role with the role selected on the page.

发布评论

评论列表(0)

  1. 暂无评论