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 category, then it will use only the child category for listing out related courses.
Paste this code in Child theme – Functions.php or Wp admin – Plugins – Editor – Wplms customiser – wplms_customiser.php
add_filter('wplms_carousel_course_filters','wplms_related_course_child_category');
function wplms_related_course_child_category($args){
global $post;
$terms = wp_get_post_terms($post->ID,'course-cat');
$categories = array();
if(!empty($terms)){
foreach($terms as $term){
if(!empty($term->parent)){
$categories[] = $term->term_id;
}
}
}
if(empty($categories)){
return $args;li>
Mobile Menu not working
Mobile menu second and third levels not working
Default image for Members
Default Logo image missing.
Drip feed not working in course.
List styling in units and courses
Non ajax units in courses bug
Modern theme with Header Layouts
Modern Theme with Directory, profile, group, course layouts
Modern theme with sleek header bugs
Alternate Logo not appearing
Site Lock registration page errors not appearing
Email order items mail issue showing errors
Registration page not working with new field types
Admin logs out on activating users from WP Admin
Modern theme one click install issue
OneInstructor theme one click install issue.
WooCommerce deactivated Dashboard stats widget error
Dashboard widget WooCommerce currency order
WP Editor border missing in forums and assignments
Activity meta links in safari
Short description missing C2 course layout
Add new unit connects to a blank forum
Forgot password not working in Site Lock
Error messages not appearing in site lock
Shop page and product page not appearing properly in Modern theme
Currency alignment in dashboard commission widget
Modern theme with admin bar issue
Bugs in safari
Group activities not appearing
Certificate height and width incorrect.
Course Drive bug with revert permalinks
Course Events bug with revert permalinks
Unit Description not working with Accordion
Revert Permalinks tip does not work with Course slug renamed.
Instructors editing other instructors courses bug.
Single quote appearing in Archive.php inauthor url
Reviews styling in Course
transparent header bugs
"Who can see this field" styling issue in registration page
Registration page not detecting new field types defined by plugins
Course code count not applied
Course Code error message not appearing properly
Logo and BuddyPress login menu issue
Search icon in Mooc header not appearing
Filterable not working without Visual composer
Group description not saving in Front end Course creation
BuddyPress registration page errors appearing white in color
Course Code appearing in Activity
Add member to course should be removed from selection after User added to course in Course - Admin
Translation bug in reviews template
Course code activity recording twice
Event Creation not working in Front end Coruse creation
Header CSS issues
Mobile Styling issues
WooCommerce product subscription duration parameter bug
Custom permalink for Testimonial
MyCred points not appearing in Transparent header
Standard header not working with MyCred points
Sort question type evaluation not working
Edit URL in My Orders not working
Code Codes not saving in Front end plugins
Scripts.js error when WooCommerce deactivated in wp admin
Unit Forum with Course forum privacy bug