=== Plugin Name ===

Contributors: CygnusH33L

Donate link: Donate using Bitcoins, send to bitcoin address 1FwP7t5LrWLeoFxstDGT1zw1fiWBmuJgK9

Tags: access, admin, members, pages, posts, restrict, user

Requires at least: 3.4.2.

Tested up to: 3.5.1.

Stable tag: 3.5.1

License: GPLv2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html


Post Restrictor



== Description ==



Plugin for restricting posts from public view that are posted in a category called 'private', Does this by requiring the user to be logged in to view.



To use just create a category called 'private' then any posts posted into this category will be hidden from public view (not logged in users).


== Installation ==



This section describes how to install the plugin and get it working.



1. Upload `PostRestrictor.php` to the `/wp-content/plugins/` directory

2. Activate the plugin through the 'Plugins' menu in WordPress

3. Create a category called 'private'

4. post your "private" posts into the category 'private'



== Frequently Asked Questions ==



Q: Can I change what category is hidden?

A: Yes, however this can only be achieved by editing the plugins source code.



Q: Does this plugin hide posts from the category private on every page (e.g. front page, single post view, category view etc)

A: Yes this plugin takes effect on every page.

== Screenshots ==
N/A

== Upgrade Notice ==
N/A

== Changelog ==



= 1.0 =

This is the first released version

= 1.1 =

Added collision check - CygnusH33L
Added comments - CygnusH33L

= 1.2 =

Fixed major issue with hidding posts in widgets (sidebar), plugins and single page view. - CygnusH33L