• Resolved dualice

    (@dualice)


    Hello,

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

    Thank you,
    Peter.

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

    (@dualice)

    Hello?

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

    -Peter.

    Plugin Author Daniel Iser

    (@danieliser)

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

    It has 4 available arguments

    https://github.com/JunglePlugins/Content-Control/blob/master/classes/Shortcodes.php#L34-L37

    [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)
  • The topic ‘List of available short codes?’ is closed to new replies.