Support » Plugin: Visibility Control for LearnDash » Using visibility control with an elementor widget

  • Resolved elanbailey


    Hi team,

    Can I ask where you place the code in an Elementor Widget?
    I realize that if I’m just trying to hide text, I can add <p class=”visible_to_group_123”>The text here</p>

    But how do I control all of the content inside of a widget, such as a video. I’ve added a video element to the page and want to be able to only display the video for members of a certain LearnDash Group.

    I’d love to be able to apply the visibility control to their elementor section (best case scenario) or to the entire widget area.

    Please advise if this is possible and how.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    To show/hide any widget/element/section in Elementor, add the CSS class ex. visible_to_group_123 in the widget/element/section Settings > Advanced > CSS Classes field.
    Check Screenshot:




    Where will I find the Group id??

    Plugin Author Pankaj Agrawal


    If you go to the Group edit page, you will see the ID (a number) in the URL of that page.

    There might be other places you can find it, but I cannot think of it at the moment.


Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.