Related Courses

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #4085
    isigma
    Spectator
    How come Related Courses area inside of a course displays parent course itself among others? Why do we need a link to the course inside of the same course?
    #4417
    Anshuman Sahu
    Keymaster
    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 . /  
    #29238
    isigma
    Spectator
    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.
    #29552
    MrVibe
    Keymaster
    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; }
    #33766
    isigma
    Spectator
    Do we expect courses, excluded from directory in WPLMS settings to show up in Related courses? After 2.0.6.1 they are there.
    #34097
    Anshuman Sahu
    Keymaster
    No the course that is hidden from the directory page will not show in the related courses .
    #34138
    isigma
    Spectator
    Do you mean, it will be fixed in the future, because as of now I see this happening.
    #34298
    H.K. Latiyan
    Participant
    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.
    #36608
    isigma
    Spectator
    fixed in 2.0.7
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Related Courses’ is closed to new replies.