@morgan,
Please paste this code in wp-admin > Plugins > Editor > Select WPLMS Customizer Plugin > wplms-customizer.php
You'll get a custom course detail section when you edit the course in the backend. Put some description there and then save. This will be visible in the course detail sidebar
add_filter('wplms_course_metabox','wplms_custom_course_details_repeatable');
function wplms_custom_course_details_repeatable($metabox){
$metabox['vibe_course_details'] = array(
'label' => __('Custom Course details','vibe-customtypes'), // <label>
'desc' => __('custom course details.','vibe-customtypes'), // description
'id' => 'vibe_course_details', // field id and name
'type' => 'textarea', // type of field
'std' => ''
);
return $metabox;
}
add_filter('wplms_course_details_widget','wplms_custom_course_details_information',9999999);
function wplms_custom_course_details_information($details){
$custom_info = get_post_meta(get_the_ID(),'vibe_course_details',true);
if(isset($custom_info)){
$details[]='<li>'.htmlspecialchars_decode($custom_info).'</li>';
}
return $details;
}
Refer:
http://prntscr.com/j0l2p5