Support » Plugin: Content Control - User Access Restriction Plugin » [content_control] shortcodes guide

  • Resolved Suki

    (@sukinoz)


    Is there a complete guide of the [content_control] shortcode and its atributes?

    Something like this:

    – logged_out (null. shortcode content only for logged out users)
    – roles=”administrator, suscriber” (shortcode roles apply)
    – class=”” (add a css class to the div)
    – message=”” (by default include default denial_message)

    Examples:
    [content_control]Looged in content[/content_control]
    [content_control roles=”suscriber,administrator”]Role content[/content_control]
    [content_control logged_out message=”You are log in”]Looged out content[/content_control]

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

    (@danieliser)

    @sukinoz – It was already in our dev readme, but the latest update included them in the main description now that its been published.

    Very much appreciate the suggestion though.

    Thread Starter Suki

    (@sukinoz)

    Great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[content_control] shortcodes guide’ is closed to new replies.