Visibility Control for Learnpress

Control What Users Can See

Hide HTML Elements, Menus, And Other Details For Specific Criterion

Key Controls

Visibility Control for LearnPress helps you hide messages and content for specific criterion anywhere on your WordPress page.

Access to a course

Show or hide HTML elements, menus, and other details based on user’s enrollment in LearnPress course.

Login Status

Show or hide HTML elements, menus, and other details based on user’s status like logged in or logged out.

User Role

Show or hide HTML elements, menus, and other details based on role of the WordPress users.

How to use?

You simply need to add a CSS class to your element div or span. 
As explained here, if Course ID is 123

Login/Logout Status:

Add this CSS class: visible_to_logged_in OR hidden_to_logged_out

Add this CSS class: visible_to_logged_out OR hidden_to_logged_in

For a specific course, if Course ID is 123:

For Specific Roles

Add this CSS class: visible_to_role_administrator

Add this CSS class: hidden_to_role_administrator

Screenshots

Shopping Cart