Course duration in hours and not in days

Home Forums Legacy Support Support queries Setup issues Course duration in hours and not in days

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #375211
    daniger
    Spectator
    How can I change the information field of the cumulative time course to indicate only in hours and not in days? https://prnt.sc/20wzctc Also, can you put a personalized data for each course? I tried from "LMS > Settings > course configuration > add new detail" but it is not showing then in the course info widget in elementor
    #375231
    Veronica
    Moderator
    hi first can you please let us know which version of the theme you are using? v3 or v4? according to that we need to check the code
    #375281
    daniger
    Spectator
    I use the v4
    #375301
    Veronica
    Moderator
    hi can you please share the site details in a private reply? we need to check this on your site.
    #375450
    daniger
    Spectator
    This reply has been marked as private.
    #375462
    Veronica
    Moderator
    checking on your site
    #375463
    Veronica
    Moderator
    hi just tried to check but I think the permission was denied: http://prntscr.com/212ipni I have uploaded the wplms-customizer plugin please add this in wplms-customizer.php
    add_filter('wplms_cs_get_course_unit_durations',function($string,$duration){
    
    $hours = floor( $duration/(60*60) );
    
    $minutes = floor( ($duration/60)%60 );
    
    $string = $hours.' Hours';
    
    return $string;
    
    },99,2);
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Course duration in hours and not in days’ is closed to new replies.