Restrict access to categories by user role
-
I’m trying to set up a website with posts and pages split into two categories: Residential and Commercial, with users split into the two different groups as well (either using custom fields, or custom user roles). Users in the Residential group should not be able to see any content in the Commercial group, and vice versa. I am using the Pods plugin to assign a category to a page.
I’ve spent nearly all day trying to figure out how to do this, but thus far have come up with nothing. It would be preferable to do this with a plugin, as I have rather limited knowledge in PHP, though if that’s not possible at the moment, I definitely understand.
I am certainly open to alternative methods as well, so long as they accomplish the same goal.
Any help or assistance would be much appreciated!
- The topic ‘Restrict access to categories by user role’ is closed to new replies.