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.
Related Posts:
- WordPress roles – Protect administrator role
- Can I allow certain people to add/edit pages within a parent?
- Public WP website with one area just for members
- Best way to create member pages for a lab website? [closed]
- Sync roles across several plugins
- Pass PHP variable to javascript
- How to prevent a post from being deleted?
- Publish author posts only with editor approval?
- How can I modify the Capability needed to access a plugin’s options?
- Creating a WordPress admin page without a menu for a plugin
- Limit access to posts/pages by user roles
- WordPress Capabilities: edit_user vs edit_users
- jQuery plugin only in one page/post
- User profiles and object associations
- How to assign user a role if none is present when logging in
- How to create a Page alias in WordPress
- Specific post user permissions
- How can I let users to access plugin functions based on roles?
- Dynamic homepage according to user role
- How to extract images of post and pages excluding header and logo image in wordpress?
- Restricting users to a specific front end page [closed]
- How to exclude a widget from page 1 of a paginated post
- add_meta_box Callback not being called
- Creating a menu page in a Object Oriented developed plugin
- Distributing and packaging plugins
- Copyright messages for a particular set of pages
- Advanced Custom Fields/User Role Editor – how to hide ACF for certain users?
- wordpress reusable content blocks
- Update User Role
- Wondering what these multi-colored extra pages are?
- Create a custom page template inside my wordpress plugin
- How to achieve certain page (url) accessible to certain users
- How to make a customize role and view a specific plugins base on that role?
- View Private Published Page with URL Code (no login required)
- how to give a user a role?
- WordPress plugin/theme or other wayout to create portable pages?
- How to create restrict content to users (by user, not by role)
- How to set add question capability for author role in wp pro quiz plugin
- Changing page URL and connect newsletter to MailChip
- How to create user that has permission to create new sites on WordPress with multisite option enabled?
- WordPress page and plugin list using sql query
- Add menu page issues (permissions & position)
- Would Gutenberg be considered a PlugIn?
- Add user role to generated plugin
- Is there any way to make myself an admin?
- Understanding State in WordPress Multisites
- How to have sample page for each new register users in a membership website
- One sub site is slow while all others load fine, same theme & plugins [closed]
- Add Content to Content()
- Custom shortcode for displaying user based on a role parameter
- How I can change the required capability for an admin menu without editing the plugin file?
- Add User Role: Pre-saved in User-Meta [SOLVED]
- How to create wordpress page that lets users create their own quiz? [closed]
- Huge number of 404 pages getting spawned
- Show media-uploads to all users
- How to create plugin auto create page wordpress?
- Change website directory safely to add a static page on startup
- Price comparison table based on Custom Post Type?
- Plugin permissions for Editor role
- How to dynamically change spots of text in custom page?
- How To Create A File Archive in WordPress?
- Role based permission edit for plugins
- Adding a pagenavi to function for displaying bookmarks
- Plugin privelages for “editors”
- Pasting this PHP breaks my page. Why?
- Modify pages widget and make a plugin?
- How do I create pages within a WordPress post?
- Plugin access and Roles
- Plugin Hook When New Author Added
- Woocommerce checkout page broken when set as a checkout in woocommerce settings [closed]
- Custom plugin places html head content in body
- Pass PHP variable to javascript
- Show an admin menu item in Editor role
- how to show all posts of each category in pages
- Allow a particular user to access a particular plugin?
- create pages automatically and dynamically in wordPress
- Automatic chage password of pages after some time
- Allow editor user to full permission to access plugin settings
- How to create different views for different user roles?
- How to use plugin’s shortcode in custom design? [closed]
- How can I disable access to plugin settings in wp admin for other roles
- Remove dashboard links from wordpress
- Page Contents showing in Footer Area
- Page takes on two different formats
- How to disable users to view Other pages
- Why user profile update creates Additional Capabilities
- Multiple calling javascript from shortcode in one page
- Best approach to serve static content within a regular page
- Hidden Some Setting on Post or Page [duplicate]
- Different email notifications (about pending posts) to different users
- Get page content by ID (from a plugin)
- How to set up php,javascript and css to allow for our finished product to be displayed within a page?
- How to tell which Plugin is displaying?
- Wp Pagenavi how to display all results
- Redirect url in plugin to somewhere else?
- registration plugin [closed]
- Attachement title in wpallimport
- WordPress Plugin and other pages not opening
- Create new page without menu in custom wordpress plugin
- How to have certain products show for only certain users (Not roles)