Front end not working when woocommerce deactivated (quick fix)

Please add the given code in your wplms-customizer.php file in your wplms customizer plugin  : add_filter(‘wplms_course_creation_tabs’,’wplms_woocommerce_front_end_check’); function wplms_woocommerce_front_end_check($tabs){ if(in_array(‘woocommerce/woocommerce.php’, apply_filters(‘active_plugins’, get_option(‘active_plugins’)))){ }else{ // Not found unset($tabs[‘course_pricing’][‘fields’][2]); } return $tabs; }  

Add advanced course search filter widget on page

Please refer : http://screencast-o-matic.com/watch/coXZ10hrIZ and add the given css from wp-admin -> appearance -> customize -> custom css : .vibe_sidebar .widget form>ul>li {     width: 16%;     float: left;     clear: none;     padding: 10px;     border: none; }

Remove “related courses” from single course page modern theme

Please add the given code in your wplms-customizer.php file in wplms customizer plugin  : add_action(‘init’,’wplms_modern_related_course_remove’); function wplms_modern_related_course_remove(){ $modern = Wplms_Modern_Init::init(); remove_action(‘wplms_modern_after_course_front’,array($modern,’wplms_modern_course_front’)); }  

Blog with sidebar in modern theme

Please find the blog-sidebar.php file in the attached blog-sidebar.zip file : upload the blog-sidebar.php file in your wp-content/themes/wplms_modern folder . Now goto wp-admin -> pages -> all pages -> add new . Create page with name blog and select its template Blog Sidebar .

Instructor and student guides pages

Goto wplms ->  page builder manager -> Import/Export Sample Layouts : Copy the code from the attached instructor_student_guide.txt file and paste it in the import code Save the changes . Now goto add new page enable the page builder click on the saved layouts drag the student guide and drop it […]

Login popup on Free Course

For modern theme :  Please add the given code in your wplms-customizer.php file in wplms customizer plugin  : add_action(‘wp_footer’,’trigger_login_popup_course_error’); function trigger_login_popup_course_error(){ if(!is_singular(‘course’) || is_user_logged_in()) return; $actual_link = “http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]”; if(strpos($actual_link,’error’) && strpos($actual_link, ‘login’)){ ?><script> jQuery(“document”).ready(function($){ $(“#message a”).on(‘click’,function(event){ event.preventDefault(); $(‘#login_modern_trigger’).trigger(‘click’); }); }); </script>’; <?php } } For default theme : Please add […]

Add confirm email field in register page

I share this trick with the wplms community. If you want to add a confirm email field in the register form (run by BuddyPress signup), paste this code in your bp-custom.php file or in your custom theme function.php. I tested it in my function.php file and it works! PHP code: […]

One course(one page)child theme home page import

Please goto wplms -> page builder manager and import the code that is in the attached OneCoiurse_Home_export.txt file . refer : http://prntscr.com/92a8nd Now add new page , enable the page builder and then click on the “saved layout” and use this layout . refer : http://prntscr.com/92a8xj

Enabling and Adding Unit Attachments

Please add the given code in your wplms-customizer.php file in wplms customizer plugin  : add_action(‘init’,’add_post_featured_image_assignment1′); function add_post_featured_image_assignment1(){ add_post_type_support(‘unit’,’thumbnail’ ); } Now goto unit edit page in back end and follow this video  :

Remove child category from course category dropdown in edit course

Please add the given code in your wplms-customizer.php file in wplms customizer plugin  . add_filter(‘wplms_frint_end_field_taxonomy_args’,’custom_wplms_front_end_field_taxonomy_args’); add_filter(‘wplms_front_end_field_taxonomy_args’,’custom_wplms_front_end_field_taxonomy_args’); function custom_wplms_front_end_field_taxonomy_args(){ return array(‘hide_empty’ => false,parent=>0,’orderby’=>’name’,’order’=>’ASC’); }