Support » Plugin: Content Control - User Access Restriction Plugin » List of available short codes?

  • Resolved dualice



    Is there a list somewhere of the available shortcodes for this plugin?

    Thank you,

Viewing 2 replies - 1 through 2 (of 2 total)
  • dualice



    I tried looking through the documentation but didnn’t find anything. Is this plugin still supported?


    Plugin Author danieliser


    @dualice – Sure, to be clear there is only one shortcode [content_control].

    It has 4 available arguments

    [content_control logged_out] Shows to logged out users only.

    [content_control roles="admin,editor"] Shows to only user with those roles.

    [content_control class="your-custom-class,some-other-class"] Add custom classes to the div.

    [content_control message="You do not have permission"] // Set a custom denial message.

    Anything inside the [content_control] Protected Content Here [/content_control] block will be controlled by these parameters.

    Hope that helps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.