• I am using the following shortcodes to try and limit content to only display to administrators and customers, but this does not work at all. The content doesn’t show up for anyone regardless of their role.

    [O_U user_role=”Administrator”]

    This content is available to all administrators
    [/O_U][O_U user_role=”Customer”]

    This content is available to all Customers (registered users)
    [/O_U]

    I am able to successfully restrict content based on username both before and after this content on the page.

    • This topic was modified 9 years, 1 month ago by sAustinPower.
Viewing 1 replies (of 1 total)
  • frelonguepe

    (@frelonguepe)

    Well if this is not too late, the solution to your problem is to replace “Administrator” by “administrator”… yes this plugin is case sensitive…
    If you want to specify multiple user roles, you mustn’t include any space before and after the comma.

Viewing 1 replies (of 1 total)

The topic ‘User Role Does Not Work’ is closed to new replies.