• Hello! Could you tell me how to do kind of this:

    [hide for=”!logged”]

    Content available for logged users (+ the group below – author)

    [hide for=”all” exclude=”author”]

    Content only for group of logged users (author)

    [/hide]

    Again content for logged users (+ that group above – author)

    [/hide] – hide this from everyone ?? and it doesn’t work this way

    Sorry if I’ve written some wrong stupid thing, I am a girl and just a teacher:)) Help me please, I beg you

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

    (@andrezrv)

    Hi Anette,

    That’s supposed to work, but it seems like the nested shortcodes are not being processed correctly. I’ll take a look into this issue, but in the meantime you could use something like this:

    [hide for="!logged"]Content available for logged users (+ the group below – author)[/hide]
    
    [hide for="all" exclude="author"]Content only for group of logged users (author)[/hide]
    
    [hide for="!logged"]Again content for logged users (+ that group above – author)[/hide]

    I’ll update here if I manage to solve the issue.

    As a side note, don’t ever be sorry to ask for help – it doesn’t matter who you are. Girls deserve a lot more respect than they get in the software community and men don’t own software development. We all need to work forward to tear down these misconceptions.

    Best,

    Andrés.

    Thread Starter annette1q

    (@annette1q)

    Yes, this way it works.
    But it would be much better if it worked in a simpler way. Wish you good luck with the issue.
    Thank you very much for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide hidden content’ is closed to new replies.