Change WordPress user roles and capabilities Forums How to or FAQ Post View Restrictions by Category

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7229
    [email protected]
    Participant

    I have the post view restrictions working, however is there a way to allow viewing of a post if it includes a specific category but also includes the categories that are “blocked” for that user role.

    There will be multiple categories to determine who sees what so they would overlap frequently, in it’s current state it seems to just full block any post categories that are either selected or not selected if the unblocked category is present with other blocked categories.

    #7234
    Vladimir
    Keymaster

    Yes, ‘block’ rule has a higher priority. If post has few categories assigned and at least 1 of them is prohibited for view to the current user role – user can not see this post.
    Look if you can to re-structure your categories to exclude the mentioned overlapping.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.