Support » Plugin: Private Content » Custom roles have been added in Private Content 6.0

  • ResolvedPlugin Author Aldo Latino

    (@aldolat)


    Hello users,
    I just released the new 6.0 version, where I added support for your custom roles.
    Let me know if all works as expected.

    How to use custom roles

    Let’s say you have a custom role named Designers. A shortcode would be:

    [private role="custom" custom_role="designers"]Text for Designers group.[/private]

    With this shortcode, users of Designers role will read the text “Text for Designers group.”, while other users will see nothing (Administrators included).

    As always, you can use an alternate text, so that users of other roles see something instead of nothing. For example:

    [private role="custom" custom_role="designers" alt="You are not authorized to see this text."]Text for Designers group.[/private]

    For more information, please see the Wiki on GitHub.

    Have fun!

Viewing 1 replies (of 1 total)
  • Plugin Author Aldo Latino

    (@aldolat)

    Update

    Since the introduction of the support for custom roles, changes have been added in the behavior of the plugin, especially in what Administrators can read.

    For all the updated information, please read the Wiki. 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Custom roles have been added in Private Content 6.0’ is closed to new replies.