View Categories

Control Who Can View Posts With Specific Terms

PublishPress Permissions makes it possible to control who can view content with a specific taxonomy attached. For example, you can create a tag called “Admin Access Only” and make sure that only people in the “Administrator” role can view posts with that tag.

  • Install the PublishPress Permissions plugin.
  • Go to Posts > Categories.
  • Open the category that you want to control viewing access for.
  • Look underneath the category for the “Permissions: View Posts in this Category” box:
View posts in a category
Read Post Category

This “Permissions: View Posts in this Category” box allows you to customize who can view this post. You can choose permissions for Roles, Groups or even individual users.

For example, in the screen above, everyone can read this post. Even people who no user account on your site can read this content because of the settings for the “Not Logged In” option.

However, you can change these settings. In the screenshot below only Administrators and Editors can read the posts with this category attached. We have left “Everyone” and “Logged In” unchanged. This is because the “Blocked” options will always win if more than one option applies to a user role. For example, the Editor role they are impacted by “Editor”, “Everyone”, and “Logged In” so if any of these is set to “Blocked” they will not be able to access these posts.

View posts in a category: blocked
Read Post Category Blocked

Here's a video guide to this feature: