Open FREE units in a Popup from Course Curriculum

In this tip you can open “Free” units in a popup right from the course curriculum. Refer to below image for reference :

1. Go to WP Admin -> Plugins -> Editor -> WPLMS Customizer -> customizer_class.php
2. Add following line in _construct function :

PHP Code:
For wplms version lesser than  2.0 .

For wplms version 2.0 or above : 

 

3. Add Following function in class :

PHP Code:
For wplms version lesser than  2.0 .

For wplms version 2.0 or above : 

 
4. Add the following code in WPLMS Customizer -> custom.js file : (requires FTP)

Code:

5. Add following CSS code in WP Admin ->Apperance -> Customizer -> CUSTOM CSS

Code:

 

6. You may also require changing : WP Admin -> Plugins -> Editor -> WPLMS Customizer -> wplms_customizer.php

PHP Code:


to

PHP Code:

Was this article helpful?

Related Articles