DC Role

With DC Role you can show users information on your pages depending on their role. A lightweight, userfriendly alternative to member/subscription syst

Author:Robin Steeneken, DigiCit Webservices (profile at wordpress.org)
WordPress version required:3.0.1
WordPress version tested:3.6.1
Plugin version:0.0
Added to WordPress repository:30-08-2013
Last updated:30-08-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:992
plugin download
Click to start download

DC Role is a plugin which can show content to users (not) belonging to a certain role they have. It is meant as a lightweight version for some kind of member/subscription system. The shortcodes can also be selected from a button in the editor, making it (hopefully) friendly to non-techies.

DC Role consists of 5 shortcodes:

  • [dc_role role="administrator"]content[/dc_role] shows the specified content only if the users is an administrator

  • [dc_not_role role="administrator]content[/dc_not_role] shows the specified content only if the user is not an administrator

  • [dc_roles roles="administrator,subscriber"]content[/dc_roles] shows the specified content if the user has any of the provided roles (in this case administrator or subscriber)

  • [dc_not_roles roles="administrator,subscriber]content[/dc_not_roles] shows the specified content if the user does not have any of the provided roles

  • [dc_all_roles] shows a list of all roles the wordpress installation has