One of the questions I often get from visitors and clients is if there is a simple solution for WordPress to set up pages that only specific users can access – almost like a customer area or an extranet. I stumbled over a plugin that I believe does a good job and have the features most people will need without being over complex.
WordPress started out as a blogging platform and it still takes a quite simplistic approach to user and content level security. It is possible to create users and assign each user to a single role. Roles in standard WordPress range from subscribers to various content provider roles such as author and editor. Finally, there is an admin role with all permissions available; this is used for setting up the website. The user model is primarily useful for controlling a content publishing process where contributors prepare content that editors moderate and publish. Securing a content for front-end visitors is possible in WordPress using a simple password protection. This is not user related and anyone with the password can unlock the content.
The default WordPress role system works great for most blogs and websites, but since it is limited in terms of user and content management, it fails as a membership, intranet or extranet website. Fortunately, there are some third party plugins made to enhance user and content management for WordPress. For setting up complex membership websites it is useful to look for membership plugins, but there are also more light weight solutions available that extent WordPress to help editorial teams take more control of the permissions for each team member. In addition, there are plugins that are simple yet powerful and works great for e.g. simple intra- and extranets where employees and customers can log in and see pages related to them.
PrivateContent is a good example of this and it is a very robust and feature rich solution. User management possibilities are improved by allowing you to create user categories and then categorize users to control what content they can access. An integrated set of options pages helps administrators work efficient with user management and permissions. In addition, it is possible to import and export users using Excel or CSV file format. With PrivateContent each user has its own private page too. Users can edit the page if you want them to and you can provide content for the individual users as needed. The plugin also comes with an integrated shortcode wizard that allows you to define private content inside normal WordPress pages and posts. Finally, you can choose to hide all the posts or one or more categories and only give access to specific user categories.
PrivateContent comes with simple options for setting up a login form for the users. You can add it using widgets, shortcodes or API functions (for developers). The CSS style of the form can be customized by disabling the default CSS and using your own. In combination with business website templates it will help you build websites where you can serve customized content to anonymous users, customers and employees. In addition, it is a cool plugin for photographers building a photography website to deliver photos for downloaf to a personal customer page.
The plugin can be installed using the default WordPress plugin installer. You can also install it by uploading directly into your FTP. You can start using the plugin by accessing the settings found in the dashboard menu.
Continue reading →