Hide Posts by Category
·
A WordPress plugin to hide posts from non-administrators by category.
This plugin enables Editors to see only their content and categorized content. Uncategorized posts from Administrators do not show up for Editors.
Hide A Post Settings
Typed in the categories that I don’t want to have seen:
Awesome, Spicy
Example Posts (seen from Administrators)
- Tomato (Owner: Administrator, Categories: Fruit, Red)
- Potato (Owner: Administrator, Categories: Vegetable, White)
- Broccoli (Owner: Administrator, Categories: Vegetable, Green)
- Mushrooms (Owner: Administrator, Categories: Vegetable, White, Awesome) – This is a post, I want to hide from other non-Administrators based on the « Awesome » category.
- Apple (Owner: Administrator, Catgories: Fruit, Red)
- Pear (Owner: Administrator, Categories: Fruit, Green, Awesome) – This is a post, I want to hide from other non-Administrators based on the « Awesome » category.
- Peppers (Owner: Administrator, Categories: Vegetable, Green, Spicy) – This is a post, I want to hide from other non-Administrators based on the « Spicy » category.
- Peach (Owner: Administrator, Categories: Uncategorized) – I’ve just started creating this post as an Administrator
- Blueberries (Owner: Administrator, Categories: Fruit, Blue, Uncategorized) – Even thought I’ve started adding categories to this post, it won’t show up based on the « Uncategorized » category.
- Raspberries (Owner: Editor, Categories: Fruit, Red, Awesome) – Since I’m an administrator, I can still see this post, even though its in the « Awesome » category.
Example Posts (seen from Editors)
- Tomato (Owner: Administrator, Categories: Fruit, Red)
- Potato (Owner: Administrator, Categories: Vegetable, White)
- Broccoli (Owner: Administrator, Categories: Vegetable, Green)
- Apple (Owner: Administrator, Catgories: Fruit, Red)
- Raspberries (Owner: Editor, Categories: Fruit, Red, Awesome) – Since I’m an administrator, I can still see this post, even though its in the « Awesome » category.
About the plugin
We wanted to use WordPress with our tabletop gaming group. This enables us to all collaborate on content creation, while enabling the dungeon master to retain some « secrets ».