Plugin: Under Development[cj_ud]: Documentation

Well that was its origin, but it morphed a bit

Basically it allows you to specify whether a section of the page is visible based on the logged in (or not) role

shortcode = cj_ud

roles = comma delimited list of roles you want to check

musthave=true|false

If musthave is true the user must have one of the listed roles

If musthave is false the user must NOT have any of the roles listed.

Example

[cj_ud roles=”administrator” musthave=”true”] Only an administrator will see this[/cj_ud]

[cj_ud roles=”administrator” musthave=”false”]Everyone except administrator will see this[/cj_ud]

roles defaults to administrator and musthave to true