• Resolved gknierim

    (@gknierim)


    Is there a way to restrict a container by user level? I would like to hide a button and only show it if the user is logged in. I see where I can do this for the page, but would like to hide or show content on the page based on the users level. One or more levels should be allowed as well but I can get by with logged in or not.

    Edit: Sorry, this is not a FE Users issue. The container is provided by Avada plugin.

    • This topic was modified 2 years, 9 months ago by gknierim.
Viewing 1 replies (of 1 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hi g,

    To restrict content , you can wrap it in the [restricted] shortcodes. To restrict it to a certain level (X), your shortcode would be:

    [restricted level='X']…content[/restricted]

    For all levels above “X” level:

    [restricted minimum_level='X']…content[/restricted]

    For all levels below “X” level:

    [restricted maximum_level='X']…content[/restricted]

    • This reply was modified 2 years, 9 months ago by jaysupport.
Viewing 1 replies (of 1 total)
  • The topic ‘Restrict Container by Level’ is closed to new replies.