Allow a page to be edited by a specific custom role

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.

Topic members user-roles pages plugins Wordpress

Category Web


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.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.