• Resolved MaTam

    (@matam)


    I’m trying to set a restriction so that only users with the Levelsklad role can see the widget. But the shortcode doesn’t work. I use this shortcode.

    [restrict level=”Levelsklad”]
    This content can only be seen by users with Platinum level or above.
    [/restrict]

    Tell me what I’m doing wrong!

    Screenshot of role settings: https://pastenow.ru/45b5be062e3c492acf2138cdfbf45253

Viewing 1 replies (of 1 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    Thank you for reporting this.

    When using the restriction shortcode, you need to use the name of the level, not the title (see 2nd column in your screenshot)

    So right now it would be

    
    [restrict level="40-2"]
    This content can only be seen by users with Platinum level or above.
    [/restrict]
    

    To change the name of your level, go to the Edit screen and click on the Options tab. Level Name option will be at the bottom: https://imgur.com/a/5uk6YAu

Viewing 1 replies (of 1 total)
  • The topic ‘Restrict Content with Shortcodes’ is closed to new replies.