Home Plugins hide a post
Hide Posts by Category logo

Hide Posts by Category

by jrybacek on WordPress.org

A WordPress plugin to hide posts from non-administrators by category.

(0)
Modal option

Modal option

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)

  1. Tomato (Owner: Administrator, Categories: Fruit, Red)
  2. Potato (Owner: Administrator, Categories: Vegetable, White)
  3. Broccoli (Owner: Administrator, Categories: Vegetable, Green)
  4. Mushrooms (Owner: Administrator, Categories: Vegetable, White, Awesome) – This is a post, I want to hide from other non-Administrators based on the “Awesome” category.
  5. Apple (Owner: Administrator, Catgories: Fruit, Red)
  6. Pear (Owner: Administrator, Categories: Fruit, Green, Awesome) – This is a post, I want to hide from other non-Administrators based on the “Awesome” category.
  7. Peppers (Owner: Administrator, Categories: Vegetable, Green, Spicy) – This is a post, I want to hide from other non-Administrators based on the “Spicy” category.
  8. Peach (Owner: Administrator, Categories: Uncategorized) – I’ve just started creating this post as an Administrator
  9. 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.
  10. 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)

  1. Tomato (Owner: Administrator, Categories: Fruit, Red)
  2. Potato (Owner: Administrator, Categories: Vegetable, White)
  3. Broccoli (Owner: Administrator, Categories: Vegetable, Green)
  4. Apple (Owner: Administrator, Catgories: Fruit, Red)
  5. 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”.

Active installations0+
Weekly downloads
10+25.00%
Version1.1
Last updated12/21/2019
WordPress version5.0
Tested up to5.3.18
Tags
categoryhidepathfinderpoststabletop gaming