• Resolved lunabean


    [content_control roles=”Administrator,Employer” class=”custom-css-class” message=”This content is restricted to DHWA members. Please login via the link in the footer.”]Logged in content[/content_control]

    Hi there. Is there anything I need to do besides adding the shortcode to a page?

    I ask because I have the shortcode on a test page: https://dundeehills.org/test-content-control/

    All I want to be able to do is restrict based on user role. I don’t care about login status.

    The issue is, even as an Admin, the content is locked.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Daniel Iser


    @lunabean – Might be stupid, but try lowercasing the roles, administrator. If that works I might be able to add something to make sure they get converted to lowercase before we compare them.

    Thread Starter lunabean


    My goodness. Thank you. That was it. Oy.

    Plugin Author Daniel Iser


    @lunabean – Fantastic, will make a note to convert user entries to lowercase in the future.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ignoring user roles?’ is closed to new replies.