Wordpress plugins
Visibility Control for LearnPress

Visibility Control for LearnPress

Version : 1.0
Tested up to : 5.4.2
Number of download : 14
Average rating : 5 / 5 on 1 votes 1 votes, 5 avg.rating

Screenshots

Visibility Control for LearnPress
Visibility Control for LearnPress
Visibility Control for LearnPress
Visibility Control for LearnPress

Visibility Control for LearnPress helps you hide messages and content for specific criterion anywhere on your WordPress page. You can show/hide HTML elements, menus, and other details based on: 1. User’s access to a particular LearnPress Course, Or 2. User is Logged In or Logged Out. You simply need to add a CSS class to your element div or span. As explained here: Example: If Course ID is 123 To show the element/menu item to user with access to above Course, add this CSS class: visible_to_course_123 To hide the element/menu item from user with access to above Course, add this CSS class: hidden_to_course_123 To show the element/menu item to a logged-in user, add this CSS class: visible_to_logged_in OR hidden_to_logged_out To hide the element/menu item from a logged-in user, add this CSS class: visible_to_logged_out OR hidden_to_logged_in Mechanism of Functioning Hidden data/elements reaches the browser. Though user’s do not see it. CSS is added to the page for all CSS elements that needs to be hidden based on above rules. After page is loaded. These elements are removed from page using jQuery (if available), so it won’t be available on Inspect. Elements rendered after the page load are hidden but not removed from DOM/page. Future Development Depending on the interest in this feature, we will decide on adding a shortcode and/or a Gutenberg Block to achieve this feature. Related Plugin Visibility Control for LearnDash: Similar plugin for LearnDash LMS users. Allows control based on Course Access and Group Access Similar plugin for WooCommerce users. Visibility Control for WooCommerce: Allows control based on user’s purchase of a particular WooCommerce Product or Variation

Download now