Hiding course page content based on membership restrictions
  • 18 Jul 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Hiding course page content based on membership restrictions

  • Dark
    Light
  • PDF

Article summary

Membership Restrictions are a feature which prevents people from booking a particular service unless they are part of an associated membership group.

You can show/hide content on a course page using a special CSS class. If a website visitor is logged in and part of the membership group they will be able to book into the course. If they are not part of the membership group (or not logged in) they won’t be able to book and you can display some custom content (i.e. a link to purchase membership).

Apply the CSS class .hideOnMem to hide content you do not want to display when members are viewing the page (such as the membership purchase link described above).


Was this article helpful?