Creating private WordPress categories
The Password Protected Categories WordPress plugin has an option to mark categories as private. This works in exactly the same way as private WordPress pages or posts, which you can read about in the WordPress Codex. You can create private categories for any type of content in WordPress including posts and any custom post type.
Who can see private categories and their posts?
For most sites, only logged in Editors and Administrators can see private categories and the posts within them. You can change this by editing the permission levels for your site.
How to create private WordPress categories
- To mark a category as private, go to the Add or Edit Category screen for your post type (e.g. Posts -> Categories) and click the option to either add a new category or edit an existing one.
- In the ‘Visibility’ section above the ‘Add New Category’ button, select ‘Private’ before saving your category.
- You can add as many private categories as you like, while leaving the remaining categories public.