Improving Related course accuracy

The following tip will improve related course accuracy in modern theme. Currently the Related courses pick the courses from the same category to which the current course is connected to. The relation between category and courses is “or”. Following tip will identify if the course is connected to a child […]

Hide Badges and Certificates from Other Users

This tip is for restricting the users to see the badges and certificates of another users. Please follow this simple step: Please Paste the below code in wplms-customizer.php file present in your wplms customizer plugin. add_action(‘init’,’custom_hide_certificate_badge’); function custom_hide_certificate_badge(){ if(!(is_user_logged_in() && bp_is_my_profile())){ remove_action(‘bp_before_profile_content’,’show_profile_snapshot’); } }  

Add content on the Top of the Website.

Please Follow these steps: 1) Please add this code in the wplms-customizer.php file present in your wplms customizer plugin. add_filter(‘vibe_option_custom_sections’,’custom_wplms_section’,9,1); function custom_wplms_section($sections){ $sections[1][‘fields’][] = array( ‘id’ => ‘header_notification’, ‘type’ => ‘editor’, ‘title’ => __(‘Add Content on Top’, ‘vibe’), ‘sub_desc’ => __(‘Add Content on top of Website’, ‘vibe’), ‘desc’ => __(”, […]

Course Details Widget Follow the User when they Scroll

Please go to your wplms-customizer.php file in wplms customizer plugin or functions.php in your child theme and add the following code at the bottom of the file. add_action(‘wp_footer’,’wplms_fix_course_pricing’); function wplms_fix_course_pricing(){ if(!is_singular(‘course’)) return; ?> <style> .widget.pricing.fixed{ position: fixed; top: 80px; z-index: 99; } </style> <script> jQuery(document).ready(function($){ var windowWidth = $(window).width(); if(windowWidth […]