Unable to replicate the issue please makes sure that you have selected atleast one of the options in th related course widget .
Please share your site url and admin credentials to check issue at your end .
PS: marks reply as private while sharing the credentials . /
Once I raised a question about the opened course showing itself in the Related Courses, and it got fixed. It looks like in 2.0.6. it's back again.
Modern child.
Unfortunately that is correct.
Quick fix : Add this code in Functions.php file
add_filter('wplms_moern_related_courses','remove_current_course_from_related');
function remove_current_course_from_related($args){
global $post;
if($post->post_type != 'course')
return $args;
$args['post__not_in'] = array($post->ID);
return $args;
}
Do we expect courses, excluded from directory in WPLMS settings to show up in Related courses? After 2.0.6.1 they are there.
No the course that is hidden from the directory page will not show in the related courses .
Do you mean, it will be fixed in the future, because as of now I see this happening.
Yes this is an issue only in the related courses.
I have added this in the issue log:
https://trello.com/c/5mSEh9nw/393-hidden-courses-shows-up-in-the-related-course-section#
It will be fixed in the next update only.