| 1 |
=== Content Control - User Access Restriction Plugin === |
| 2 |
Contributors: codeatlantic, danieliser, jungleplugins |
| 3 |
Author URI: https://code-atlantic.com/ |
| 4 |
Plugin URI: https://wordpress.org/plugins/content-control/ |
| 5 |
Donate link: https://code-atlantic.com/donate/ |
| 6 |
Tags: access, content, content restriction, permission, private, restrict, restrict access, restriction, user, visibility, widget |
| 7 |
Requires at least: 3.5.0 |
| 8 |
Tested up to: 5.2.5 |
| 9 |
Stable tag: 1.1.2 |
| 10 |
Requires PHP: 5.3 |
| 11 |
License: GPLv3 or Any Later Version |
| 12 |
|
| 13 |
Restrict content to logged in/out users or specific user roles. Restrict access to certain parts of a page/post. Control the visibility of widgets. |
| 14 |
|
| 15 |
== Description == |
| 16 |
|
| 17 |
Content Control is a lightweight and powerful plugin that allows you to take complete control of your website’s content by restricting access to pages/posts to logged in users, specific user roles or to logged out users. |
| 18 |
|
| 19 |
The plugin also enables you to restrict access to certain parts of a page/post using shortcodes e.g [content_control]Logged in content[/content_control] |
| 20 |
|
| 21 |
Lastly, the plugin allows you to control the visibility of each sidebar/footer widget by selecting who can view each widget (everyone, logged out users, logged in users, specific user roles). |
| 22 |
|
| 23 |
= Full Feature List = |
| 24 |
|
| 25 |
Content Control allows you to do the following: |
| 26 |
|
| 27 |
- Restrict access to pages/posts to logged in/out users or specific user roles |
| 28 |
- Restrict access to media, tags, categories, format to logged in/out users or specific user roles |
| 29 |
- Display a custom message to users who do not have permission to view the content |
| 30 |
- Redirect users who do not have permission to view the content to login page (redirects back to page/post after login), website homepage or custom URL |
| 31 |
- Display certain content on a page/post to logged in users only |
| 32 |
- Display certain content on a page/post to specific user roles |
| 33 |
- Display certain content on a page/post to logged out users |
| 34 |
- Apply custom CSS classes to on page content restriction shortcodes |
| 35 |
- Control the visibility of each sidebar/footer widget by selecting who can view each widget (everyone, logged out users, logged in users, specific user roles). |
| 36 |
|
| 37 |
= Created by Code Atlantic = |
| 38 |
|
| 39 |
Content Control is built by the [Code Atlantic][codeatlantic] team. We create high-quality WordPress plugins that help you grow your WordPress sites. |
| 40 |
|
| 41 |
Check out some of our most popular plugins: |
| 42 |
|
| 43 |
* [Popup Maker][popupmaker] - #1 Popup & Marketing Plugin for WordPress |
| 44 |
* [Ahoy][ahoy] - Automated Marketing Messages for WordPress |
| 45 |
* [User Menus][usermenus] - Show Or Hide Menu Items For Different Users |
| 46 |
|
| 47 |
**Requires WordPress 3.6 and PHP 5.3** |
| 48 |
|
| 49 |
[codeatlantic]: https://code-atlantic.com "Code Atlantic - High Quality WordPress Plugins" |
| 50 |
|
| 51 |
[popupmaker]: https://wppopupmaker.com "#1 Popup & Marketing Plugin for WordPress" |
| 52 |
|
| 53 |
[ahoy]: https://useahoy.com "Automated Marketing Messages for WordPress" |
| 54 |
|
| 55 |
[usermenus]: https://wordpress.org/plugins/user-menus/ "Show Or Hide Menu Items For Different Users" |
| 56 |
|
| 57 |
== Installation == |
| 58 |
|
| 59 |
= Minimum Requirements = |
| 60 |
|
| 61 |
* WordPress 3.6 or greater |
| 62 |
* PHP version 5.3 or greater |
| 63 |
|
| 64 |
= Installation = |
| 65 |
|
| 66 |
* Install Content Control either via the WordPress.org plugin repository or by uploading the files to your server. |
| 67 |
* Activate Content Control. |
| 68 |
|
| 69 |
If you need help getting started with Content Control please see [FAQs][faq page] which explains how to use the plugin. |
| 70 |
|
| 71 |
|
| 72 |
[faq page]: https://wordpress.org/plugins/content-control/faq/ "Content Control FAQ" |
| 73 |
|
| 74 |
|
| 75 |
== Frequently Asked Questions == |
| 76 |
|
| 77 |
= Where can I get support? = |
| 78 |
|
| 79 |
If you get stuck, you can ask for help in the [Content Control Plugin Forum][support forum]. |
| 80 |
|
| 81 |
= Where can I report bugs or contribute to the project? = |
| 82 |
|
| 83 |
Bugs can be reported either in our support forum or preferably on the [Content Control GitHub][github issues] repository (link to GitHub repo). |
| 84 |
|
| 85 |
|
| 86 |
[github issues]: https://github.com/jungleplugins/content-control/issues "GitHub Issue tracker for Content Control by Jungle Plugins" |
| 87 |
|
| 88 |
[support forum]: http://wordpress.org/support/plugin/content-control "Content Control Plugin Forum" |
| 89 |
|
| 90 |
== Screenshots == |
| 91 |
|
| 92 |
1. Create unlimited restriction sets. |
| 93 |
2. Choose who can see the restricted content. |
| 94 |
3. Display a message in place of restricted content. |
| 95 |
4. Redirect users to log in or to another page if they access restricted content. |
| 96 |
5. Choose any content you can think of to protect. |
| 97 |
6. Use shortcodes to protect content inline. |
| 98 |
7. Restrict widgets as well. |
| 99 |
|
| 100 |
== Changelog == |
| 101 |
|
| 102 |
= v1.1.2 - 11/10/2019 = |
| 103 |
* Tweak: Remove erroneous console.log messages in admin. |
| 104 |
* Fix: Fatal error when empty shortcode used. |
| 105 |
|
| 106 |
= v1.1.1 - 10/15/2019 = |
| 107 |
* Fix: Bugs where variables were not always the expected type. |
| 108 |
|
| 109 |
= v1.1.0 = |
| 110 |
* Improvement: Added default denial message to shortcode. |
| 111 |
* Improvement: Render nested shortcodes in the [content_control] shortcode. |
| 112 |
* Fix: Bug where multiple roles checked together in restriction editor. |
| 113 |
|
| 114 |
= v1.0.3 = |
| 115 |
* Fix: Minor notice on activation. |
| 116 |
|
| 117 |
= v1.0.2 = |
| 118 |
* Fix: Call to undefined function. |
| 119 |
|
| 120 |
= v1.0.1 = |
| 121 |
* Fix: Non static method called statically |
| 122 |
* Fix: Bug when using invalid variable type. |
| 123 |
|
| 124 |
= v1.0.0 = |
| 125 |
* Initial Release |