=== WP Private Content Plus ===
Contributors: nimeshrmr
Donate link: http://www.wpexpertdeveloper.com/donations/
Tags: private page,restrict content,client portal,private content,membership,private user page, private portal, post page restrictions,shortcode,private,protect,nav menu, restrict menu, content restrictions, lock content, scheduled content, private schedule, time based content, capability, search, search restrictions, navigation, user role, user profiles made easy, password protect,private group, password protection,widget by user role, protect widgets,restrict widgets, restrict widget,hide, post attachments, restrict attachments, protect attachments, attachment download,private site, post file, attachments, widgets, global post restriction, content lock, private site,site lockdown, lock entire site, protect rss feed,restrict rss feed, user groups, groups
Requires at least: 4.3.1
Tested up to: 4.9.8
Stable tag: 1.25
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Ultimate content restrictions plugin with private page, private user groups,private conetnt and restrictions on menu,widgets,search,downloads based on user roles.

== Description ==
[WP Private Content Plus](http://www.wpexpertdeveloper.com/wp-private-content-plus/) simplifies the process for protecting your important site content from guests,members,specific user roles or group of selected users. This plugin supports content restrictions on posts,pages,custom post types, navigation menus,widgets and post attachments.

Apart from that you will get a unique private page for every user of your site and let the administrator add user specific content to the private page. Only the owner will be able to see these content.WP Private Content Plus provides the ability to display different menu items to different users based on their login status as well as user roles. You can extend the private page with private discussions (private messages) and private files using the PRO version.

> **Main Features**
>
> * [Restrict entire posts/pages/custom post types](http://www.wpexpertdeveloper.com/restrict-posts-pages-custom-post-types/)
> * [Restrict content by User Groups](http://www.wpexpertdeveloper.com/restrict-content-user-groups/)
> * [Restrict content by User roles](http://www.wpexpertdeveloper.com/restrict-content-by-user-roles/)
> * [Restrict content for Guests or Members](http://www.wpexpertdeveloper.com/restrict-content-guests-members/)
> * [Restrict content by User role Levels](http://www.wpexpertdeveloper.com/restrict-content-by-user-role-levels/)
> * [Restrict content by WordPress capabilities](http://www.wpexpertdeveloper.com/restrict-content-by-capabilities/)
> * [Private Page for user profiles](http://www.wpexpertdeveloper.com/private-page-for-users/)
> * [Restrict menu for members, guests, user roles, user groups](http://www.wpexpertdeveloper.com/restrict-menu-items/)
> * [Restrict widgets for members, guests, user roles](http://www.wpexpertdeveloper.com/restrict-widgets/)
> * [Restrict post attachments and downloads to for members, guests](http://www.wpexpertdeveloper.com/restrict-post-attachments-downloads/)
> * [Restrict content by multiple user meta keys](http://www.wpexpertdeveloper.com/restrict-content-by-multiple-user-meta-keys/)
> * [Restrict content based on scheduled time frames](http://www.wpexpertdeveloper.com/restrict-content-scheduled-time-frames/)
> * [Restrict content by multiple user meta values](http://www.wpexpertdeveloper.com/restrict-content-by-multiple-user-meta-values/)
> * [Restrict search content by user types](http://www.wpexpertdeveloper.com/site-search-restrictions/)
> * [Integration with User Profiles Made Easy](http://www.wpexpertdeveloper.com/user-profiles-made-easy-integration/)
> * [Global Post/Page Protection](http://www.wpexpertdeveloper.com/global-post-page-protection/)
> * [Global Site Protection with Single Password](http://www.wpexpertdeveloper.com/protect-entire-site-single-password/)

### Upgrade to WP Private Content Pro
If you are a fan of WP Private Content Plus and want additional features, [WP Private Content Pro](http://goo.gl/2Zr089) is available.

> **Pro Features**
>
> * [Private Content in User Page](http://www.wpexpertdeveloper.com/private-page-dashboard-users/)
> * [Private Discussions in User Page](http://www.wpexpertdeveloper.com/private-page-dashboard-users/)
> * [Private Files in User Page](http://www.wpexpertdeveloper.com/private-page-dashboard-users/)
> * [Create and manage unlimited free and premium membership levels](http://www.wpexpertdeveloper.com/membership-management/)
> * [Administrator can manually assign/ remove membership levels to/from users](http://www.wpexpertdeveloper.com/membership-management/#manual_membership_assignment)
> * [Sell premium memberships with Woocommerce](http://www.wpexpertdeveloper.com/membership-management/#selling_with_woocommerce)
> * [Restrict posts/pages/custom post types/menus/widgets/ part of post content by membership levels](http://www.wpexpertdeveloper.com/membership-management/#restrict_membership_levels)
> * [Provide life time access to membership level or time based access with expiration](http://www.wpexpertdeveloper.com/membership-management/)
> * [Receive membership payments through wide range of payment gateways supported by Woocommerce](http://www.wpexpertdeveloper.com/membership-management/)
> * [Advanced Private User Page Dashboard](http://www.wpexpertdeveloper.com/private-page-dashboard-users/)
> * [User Group Management](http://www.wpexpertdeveloper.com/private-frontend-user-groups/)
> * [Private Group Discussions](http://www.wpexpertdeveloper.com/private-frontend-user-groups/#group_discussions)
> * [Private Group Files](http://www.wpexpertdeveloper.com/private-frontend-user-groups/#group_files)
> * [Protect Direct Access to Post Attachments](http://www.wpexpertdeveloper.com/restrict-post-attachments-downloads/)
> * Menu Restrictions by User Groups
> * Post Restrictions by User Groups
> * Page Restrictions by User Groups
> * Widget Restrictions by User Groups
> * [Global Custom Post Type Protection](http://www.wpexpertdeveloper.com/global-custom-post-type-protection/)
> * [Reusable Private Content Blocks](http://www.wpexpertdeveloper.com/private-content-blocks/)
> * [Woocommerce Product Protection by Default](http://www.wpexpertdeveloper.com/restrict-woocommerce-products-default/)
> * [bbPress Forum Protection by Default](http://www.wpexpertdeveloper.com/restrict-bbpress-forums-default/)
> * [bbPress Forum Topic Protection by Default](http://www.wpexpertdeveloper.com/restrict-bbpress-topics-default/)
> * [Mailchimp Subscription Locker](http://www.wpexpertdeveloper.com/mailchimp-subscription-locker/)
> * [Restrict Search by User Types and Custom Post Types](http://www.wpexpertdeveloper.com/site-advanced-search-restrictions/)
> * Premium Support

### Premium Addons
If you are a fan of WP Private Content Plus and want additional features, you can use the premium addons to extend the plugin with advanced content restriction features.

> * [WPPCP Frontend Login](http://www.wpexpertdeveloper.com/wppcp-frontend-login-addon/) - Add elegant frontend login form to your site and redirect users to private page or previously viewed content.
> * [WPPCP Link Restrictions](http://www.wpexpertdeveloper.com/wppcp-link-restrictions-addon/) - Restrict any post/page/custom post type with custom query parameters or any dynamic URL from other plugins.
> * [WPPCP Private Page Custom Tabs](http://www.wpexpertdeveloper.com/wppcp-private-page-custom-tabs-addon/) - Add dynamic tabs with custom content for private user page of WP Private Content Pro.
> * [WPPCP Category Restrictions](http://www.wpexpertdeveloper.com/wppcp-category-restrictions-addon/) - Restrict posts/custom post types from specific categories to guests/ members/ user roles
> * [WPPCP Tag Restrictions](http://www.wpexpertdeveloper.com/wppcp-tag-restrictions-addon/) - Restrict posts/custom post types from specific post tags to guests/ members/ user roles
> * [WPPCP Taxonomy Restrictions](http://www.wpexpertdeveloper.com/wppcp-taxonomy-restrictions-addon/) - Restrict posts/custom post types from specific custom taxonomy to guests/ members/ user roles

### User Profiles Made Easy Integration
WP Private Content Plus is a plugin that protects your content from different type of users. It involves many user management related features. This version is not capable of handling user related functions such as frontend login, frontend registration, member directory and user profile search. So we have integrated WP Private Content Plus with popular [User Profiles Made Easy](https://goo.gl/FjiZ1N) plugin to offer complete features related to user management and content protection. WP Private Content Plus handled the content restriction management while User Profiles Made Easy handles frontend user features related to content restriction. 

> **Additional Features with User Profiles Made Easy**
>
> * [Private frontend member directory](http://goo.gl/6dFlxZ)
> * [Private frontend member search](http://goo.gl/6dFlxZ)
> * [Redirect restricted users to frotnend login](http://goo.gl/6dFlxZ)
> * [Site lockdown module](http://goo.gl/6dFlxZ)
> * [Restrict RSS feed](http://goo.gl/6dFlxZ)
> * [Private frontend user profile](http://goo.gl/6dFlxZ)
> * [Restrict content by UPME user custom fields](http://goo.gl/6dFlxZ)
> * [Restrict frontend post publishing with UPME](http://goo.gl/6dFlxZ)
> * [Private user image galleries with UPME](http://goo.gl/6dFlxZ)
> * [More Frotend User Management Features](http://goo.gl/6dFlxZ)

### Support Forum: 
**Support forum tickets are only answered once a week unless the tickets contains critical bugs. You can get priority support through PRO version.**
					
### Main Features in Detail: 

This plugin provides main features as listed in the following section.

#### Private Page:
This feature allows administrators to add private content for each user. Private page is created for every user and they will be able to view the added content after login. If a given user doesn't have any private content, message will be displayed on private page.

#### Global Post/Page Restrictions:
This feature allows you to restrict all posts/pages on your site by default and redirect users to a specified URL in case user doesn't have necesary permission.

#### Protect Entire Posts/Pages/Custom Post Types:
This feature allows you to restrict entire posts/pages/custom post types and redirect users to a specified URL in case user doesn't have necesary permission.

#### Private Content Shortcode:
This feature allows you to add a shortcode into the post/page editor and restrict part of the content for guests, members or specific user roles. Post/Page content is displayed for all users while message is displayed for content within the private shortcode, in case user doesn't have necesary permission.

#### Menu Restrictions :
This feature allows you to restrict each menu item from guests, members or specific user roles. Useful for displaying different nav menu items for different user types.

#### Widget Restrictions :
This feature allows you to restrict each WordPress widget from guests, members or specific user roles. Useful for displaying different widgets for different user types.

#### Search Restrictions :
This feature allows you to add Search Restrictions on content types as well as user types.Now you can block certain pages/posts from appearing in search results. Also you can restrict searchable content based on user type such as Guest, Everyone and Members.

#### Post Attachment and Downloads Restrictions :
This feature allows you to upload related files as attachments for posts/pages/custom post types (which uses the_content filter) and let users download the attachments under the post/page. You can restrict viewing/downloading these file attachments for guests and members. Protect attachments is one of the unique features compared to other similar plugins. Free version only restricts the attched files inside post/page. User can still access the attchment using direct file URL. PRO version protects direct access using htaccess file.

#### Password Protection :
This feature allows you to protect your entire site(Front-end) using a single password. Once its enabled, you will have a private site and users won't be able to view your site without the correct password.

#### Integration with [User Profiles Made Easy](http://goo.gl/cQFt9T)
This feature integrates this plugin with popular User Profiles Made Easy plugin and allows you to display private page for users as a tab in user profile.


### About WP Expert Developer 

WPExpert Developer is a website and blog created to provide resources from top WordPress developers. Our prmiary goal is to provide top quality resources to WordPress users and guide beginner developers to become experts. You can access many top quality plugins, books, presentations, articles and tutorials at www.wpexpertdeveloper.com. We hope you enjoyed using this plugin. Following section contains some of the other plugins by WPExpert Developer. 

> * [Rich Text Editor Field for Contact Form 7](http://goo.gl/zAHO9Q)
> * [User Profiles Made Easy](https://goo.gl/FjiZ1N)
> * [ISearch](https://wordpress.org/plugins/isearch/)


Please refer the [Documentation](http://www.wpexpertdeveloper.com/wp-private-content-plus/) for instructions for using WP Private Content Plus


== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/wp-private-content-plus` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Use the Private Content Settings screen to configure the plugin
4. Use the shortcodes and docs at http://www.wpexpertdeveloper.com/wp-private-content-plus/ to restrict content.


== Frequently Asked Questions ==


== Screenshots ==

1. **Private Content Page** 
2. **User Role Hierarchy** 
3. **General Settings** 
4. **Post/Page Restrictions**


== Changelog ==

= 1.25 =
* Shortcode for private content based on WooCommerce product purchase

= 1.24 =
* Shortcode for private content based on a password

= 1.23 =
* Shortcode for private content based on user registration date

= 1.22 =
* Shortcode for scheduling private content

= 1.21 =
* Ability to enable/disable restrictions dashboard widget
* Support for Link Restrictions addon

= 1.20 =
* Ability to select user roles allowed to add restrictions

= 1.19 =
* Restrict site content by user IP

= 1.18.1 =
* Ability to turn-off advanced feature info boxes

= 1.18 =
* Support for Frontend Login addon

= 1.17 = 
* Allowing/blocking private content shortcode access to selected users

= 1.16 = 
* Allow certain URL's with global password restriction

= 1.15 = 
* Compatibility with WordPress 4.8
* Blocking private content shortcode access to groups
* Add title support for UPME private page tab

= 1.14 = 
* Compatibility with WordPress 4.7.4
* Private frontend user profile with User Profiles Made Easy


= 1.13.1 =
* Compatibility with WordPress 4.7.3
* Fix bug with user groups table creation

= 1.13 =
* Compatibility with WordPress 4.7
* Added filter to customize widget visibility
* Added filter to customize search restriction query
* Added filter to customize content restriction message
* Added filter to customize attachment view permission
* Added filter to customize attachment download permission

= 1.12 =
* Add support for separate redirection URL's for posts/pages restrictions

= 1.11 =
* Compatibility with WordPress 4.6.1
* Fixed issue with post restrictions not working on  home page.
* Remove capability to add restrictions to posts for non-admin users


= 1.10 =
* Restrict menu items for specific users
* Create user groups and add members
* Restrict post/page/custom post type content by user groups

= 1.9.1 =
* Fix error with private page shortcode
* Fix issue with Global post/page restriction settings
* Add support for translations

= 1.9 =
* Integrated with User Profiles Made Easy(UPME)
* Private frontend member directory with UPME
* Private frontend member search with UPME
* Redirect restricted users to frotnend login with UPME
* Site lockdown module with UPME
* Restrict RSS feed with UPME
* Private frontend user profile with UPME
* Private registrations to invited users with UPME
* Restrict content by UPME user custom fields
* Restrict frontend post publishing with UPME
* Private user image galleries with UPME

= 1.8 =
* Added features for admins to see user private page on frontend UPME profile
* Added global post/page restrictions

= 1.7 =
* Added filter to customize the default restriction message
* Fixed inconsistency in restriction messages for shortcodes
* Fixed issue with file downloads available by entering URL

= 1.6.1 =
* Fixed bug with default search restrictions
* Introduce new settings to enable/disable search restrictions

= 1.6 =
* Fixed bug with select2 library conflict with other plugins

= 1.5 =
* Added Post/Page restrictions support by User ID's
* Fixed bug with shortcodes not working with content restrictions


= 1.4 =
* Added Widget restrictions support
* Added post attachments and downloads restrictions
* Fixed bug with post/page restrictions

= 1.3 =
* Added global password protection support
* Added shortcode content restriction suppport for members and guests
* Integration with User Profiles Made Easy for private content tab
* Fix issue with bbPress forum topics not displaying
* Fix issue with using current user id

= 1.2 =
* Added site search restrictions for user types

= 1.1 =
* Added post/page/custom post type restrictions in WordPress Editor

= 1.0 =
* Intial version 

== Upgrade Notice ==

= 1.6 =
* Fixed bug with select2 library conflict with other plugins. Please upgrade to 1.6.


