Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Andrés Villarreal

    (@andrezrv)

    Hi Mai,

    That doesn’t look like the correct format to use for the shortcode. May I ask whom are you trying to hide content for?

    Best,

    Andrés.

    Thread Starter Mai

    (@maivutan)

    Hide for everyone except administrators.

    Plugin Author Andrés Villarreal

    (@andrezrv)

    There was a bug in the previous version causing the shortcode to not work correctly with roles. This should do the trick now:

    [hide for="!administrator"]Your content[/hide]

    Best,

    Andrés.

    Thread Starter Mai

    (@maivutan)

    Do you mind sharing what was the problem and how supposed it should be (not using my trick)?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[hide hide="!administrator" for="administrator"]form[/hide] code not working’ is closed to new replies.